Sha256: 51e656510ca3ee3a531026e13a581c5c467edf8882f1e72c6aebf7d16e134ef4

Contents?: true

Size: 447 Bytes

Versions: 2

Compression:

Stored size: 447 Bytes

Contents

GameMachine::Routes.game_messages do

  # The route id and the to: parameter are both required.  Everything else is optional
  # route id's can be any positive integer.  For ruby actors, to: should be the class.  For java actors
  # to: should be the string name of the actor (as defined in the java class)
  route 1, to: 'Tutorial::ItemManager', distributed: true, name: 'item_manager'
  route 2, to: 'loot_generator', name: 'loot_generator'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
game_machine-1.0.4 games/routes.rb
game_machine-1.0.2 games/routes.rb