Method: Chingu::GameObjectList#update

Defined in:
lib/chingu/game_object_list.rb

#updateObject



88
89
90
91
92
93
94
95
# File 'lib/chingu/game_object_list.rb', line 88

def update
  sync

  @game_objects.select{ |object| not object.paused }.each do |object| 
    object.update_trait 
    object.update
  end
end