Sha256: df10bb0d55ca92f8bef466fae852e373bcaeb4403f061242a369ccab2a202a91

Contents?: true

Size: 237 Bytes

Versions: 6

Compression:

Stored size: 237 Bytes

Contents

module GameMachine
  module GameSystems
    class EntityLoader < Actor::Base

      def on_receive(entity_list)
        entity_list.entity.each do |entity|
          ObjectDb.put(entity.id,entity)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
game_machine-1.0.4 lib/game_machine/game_systems/entity_loader.rb
game_machine-1.0.2 lib/game_machine/game_systems/entity_loader.rb
game_machine-0.0.11 lib/game_machine/game_systems/entity_loader.rb
game_machine-0.0.10 lib/game_machine/game_systems/entity_loader.rb
game_machine-0.0.9 lib/game_machine/game_systems/entity_loader.rb
game_machine-0.0.8 lib/game_machine/game_systems/entity_loader.rb