Stubbed Map, implemented optimized Map tile rendering, made Camera viewport explicitly defined

This commit is contained in:
2019-10-03 17:19:59 -05:00
parent fd3b847449
commit 0c22996b9f
6 changed files with 95 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ class IMICRTS
@entities = []
@orders = []
@camera = Camera.new
@camera = Camera.new(viewport: [0, 0, $window.width, $window.height])
@selected_entities = []
@current_entity_id = 0