Class: GameMachine::GameSystems::EntityLoader
- Inherits:
-
Actor::Base
- Object
- JavaLib::GameActor
- Actor::Base
- GameMachine::GameSystems::EntityLoader
- Defined in:
- lib/game_machine/game_systems/entity_loader.rb
Constant Summary
Constants inherited from Actor::Base
Instance Method Summary collapse
Methods inherited from Actor::Base
aspect, aspects, find, find_by_address, find_distributed, find_distributed_local, find_remote, hashring, local_path, model_filter, #onReceive, player_controller, #receive_message, #schedule_message, #sender, set_player_controller
Instance Method Details
#on_receive(entity_list) ⇒ Object
5 6 7 8 9 |
# File 'lib/game_machine/game_systems/entity_loader.rb', line 5 def on_receive(entity_list) entity_list.entity.each do |entity| ObjectDb.put(entity.id,entity) end end |