aboutsummaryrefslogtreecommitdiff
path: root/levels/level1.wren
diff options
context:
space:
mode:
authorIndrajith K L2021-08-02 13:48:25 +0530
committerIndrajith K L2021-08-02 13:48:25 +0530
commit7d988900e2f73992fea504419d61d4cdf759fedf (patch)
treea722fc38bcd7d9b4155c54b32acf9a5dc44cfdd9 /levels/level1.wren
parent2ff207a1d30830aeca2ea9e5d085a55ee3448ab0 (diff)
downloadrebirth-wren-7d988900e2f73992fea504419d61d4cdf759fedf.tar.gz
rebirth-wren-7d988900e2f73992fea504419d61d4cdf759fedf.tar.bz2
rebirth-wren-7d988900e2f73992fea504419d61d4cdf759fedf.zip
* Basic Game State Implementation
* Code Refactoring
Diffstat (limited to 'levels/level1.wren')
-rw-r--r--levels/level1.wren14
1 files changed, 14 insertions, 0 deletions
diff --git a/levels/level1.wren b/levels/level1.wren
new file mode 100644
index 0000000..c485924
--- /dev/null
+++ b/levels/level1.wren
@@ -0,0 +1,14 @@
+import "./level_map" for LevelMap
+class Level1 {
+ construct new() {
+ _level1 = LevelMap.new("level1")
+ }
+
+ update() {
+
+ }
+
+ draw(dt) {
+ _level1.draw(0,0)
+ }
+} \ No newline at end of file