summaryrefslogtreecommitdiff
path: root/txtgameengine/app.py
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-24 00:36:05 +0200
committerrom <romangraef@gmail.com>2021-04-24 00:36:05 +0200
commitfd73d0ad2c3b54850baf3c467954c92bd40ed010 (patch)
treeed1be11f8aacaf86d9de747ee2ba8170907cabf8 /txtgameengine/app.py
parentc75fefeb134e4c99778eada20c89e2245e30b7f7 (diff)
downloadtxtgameengine-fd73d0ad2c3b54850baf3c467954c92bd40ed010.tar.gz
txtgameengine-fd73d0ad2c3b54850baf3c467954c92bd40ed010.tar.bz2
txtgameengine-fd73d0ad2c3b54850baf3c467954c92bd40ed010.zip
shader support
Diffstat (limited to 'txtgameengine/app.py')
-rw-r--r--txtgameengine/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/txtgameengine/app.py b/txtgameengine/app.py
index f3cb711..e7121da 100644
--- a/txtgameengine/app.py
+++ b/txtgameengine/app.py
@@ -1,8 +1,10 @@
import time
+from pathlib import Path
from .platform import PlatformComponent, RenderComponent, ShaderComponent
EPSILON = 1.e-10
+base_path = Path(__file__).parent
class TxtGameApp: