Skip to content

Commit

Permalink
GameObject#initialize taken options, calls super.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacius committed Feb 25, 2009
1 parent c9a25ff commit ddf6bf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rebirth/gameobject.rb
Expand Up @@ -29,7 +29,8 @@ class Rebirth::GameObject
include Rebirth::HasEventHandler


def initialize
def initialize( options={} )
super
@children = []
@shapes = []
end
Expand Down

0 comments on commit ddf6bf6

Please sign in to comment.