diff --git a/lib/rebirth/gameobject.rb b/lib/rebirth/gameobject.rb index 39b5fd4..1927c88 100644 --- a/lib/rebirth/gameobject.rb +++ b/lib/rebirth/gameobject.rb @@ -29,7 +29,8 @@ class Rebirth::GameObject include Rebirth::HasEventHandler - def initialize + def initialize( options={} ) + super @children = [] @shapes = [] end