Module: GameMachine::ProtobufExtensions::EntityHelper

Defined in:
server/lib/game_machine/protobuf_extensions/entity_helper.rb

Instance Method Summary collapse

Instance Method Details

#add_component(component) ⇒ Object


4
5
6
# File 'server/lib/game_machine/protobuf_extensions/entity_helper.rb', line 4

def add_component(component)
  send(:"set#{component.message_name}",component)
end