Class: GameMachine::GameSystems::PrivateChat
- Inherits:
-
Actor::Base
- Object
- JavaLib::GameActor
- Actor::Base
- GameMachine::GameSystems::PrivateChat
- Defined in:
- lib/game_machine/game_systems/private_chat.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(message) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/game_machine/game_systems/private_chat.rb', line 10 def on_receive() if .is_a?(ChatMessage) () elsif .is_a?(JavaLib::DistributedPubSubMediator::SubscribeAck) else unhandled() end end |