Sha256: cf2880c0ef486cf56871b46d3bcf38d69fda462ceb0564d3726b649b7f84f038
Contents?: true
Size: 485 Bytes
Versions: 6
Compression:
Stored size: 485 Bytes
Contents
module GameMachine module GameSystems class StressTest < Actor::Base include GameMachine::Commands attr_reader :grid def post_init(*args) @grid = Grid.default_grid end def on_receive(message) #GameMachine.logger.info "#{self.class.name} #{message}" commands.player.send_message(message,message.player.id) grid.set(message.player.id,2.0,1.0,'all') grid.neighbors(1.0,4.0,'all') end end end end
Version data entries
6 entries across 6 versions & 1 rubygems