Improved shoes-iness; no longer need to pass clear blocks an element to parent to, todo: replace global var with something else.

This commit is contained in:
2020-01-13 20:13:03 -06:00
parent a267695b1c
commit 4b25d724b5
3 changed files with 12 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ module CyberarmEngine
@root_container = Element::Stack.new(gui_state: self)
@game_objects << @root_container
@containers = [@root_container]
$__current_container__ = @root_container
@active_width = window.width
@active_height = window.height