From 7d988900e2f73992fea504419d61d4cdf759fedf Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 2 Aug 2021 13:48:25 +0530 Subject: * Basic Game State Implementation * Code Refactoring --- levels/level1.wren | 14 ++++++++++++++ levels/level2.wren | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 levels/level1.wren create mode 100644 levels/level2.wren (limited to 'levels') 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 diff --git a/levels/level2.wren b/levels/level2.wren new file mode 100644 index 0000000..6323ad5 --- /dev/null +++ b/levels/level2.wren @@ -0,0 +1,5 @@ +class Level2 { + construct new() { + + } +} \ No newline at end of file -- cgit v1.2.3