Exemplo n.º 1
0
 private void InjectInventoryChangeEventPublisher([GameObjectScope] Inventory inventory,
                                                  [EventChannelScope] InventoryChangedEventChannel inventoryChangedEventChannel)
 {
     this.inventory = inventory;
     this.inventoryChangedEventChannel = inventoryChangedEventChannel;
 }
Exemplo n.º 2
0
 private void InjectInventoryChange([EventChannelScope] InventoryChangedEventChannel inventoryChangedEventChannel)
 {
     this.inventoryChangedEventChannel = inventoryChangedEventChannel;
 }
Exemplo n.º 3
0
 private void InjectEventSensor([EventChannelScope] PlayerMoveEventChannel playerMoveEventChannel,
                                [EventChannelScope] InventoryChangedEventChannel inventoryChangedEventChannel)
 {
     this.playerMoveEventChannel       = playerMoveEventChannel;
     this.inventoryChangedEventChannel = inventoryChangedEventChannel;
 }