summaryrefslogtreecommitdiff
path: root/txtgameengine/twod/textures.py
diff options
context:
space:
mode:
Diffstat (limited to 'txtgameengine/twod/textures.py')
-rw-r--r--txtgameengine/twod/textures.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/txtgameengine/twod/textures.py b/txtgameengine/twod/textures.py
new file mode 100644
index 0000000..01dde52
--- /dev/null
+++ b/txtgameengine/twod/textures.py
@@ -0,0 +1,11 @@
+import typing
+
+if typing.TYPE_CHECKING:
+ from ..app import TxtGameApp
+
+
+class Texture:
+ def __init__(self, app: 'TxtGameApp', gl_texid: int):
+ self.app = app
+ self.gl_texid = gl_texid
+