Beispiel #1
0
 private void InjectPlayerController([ApplicationScope] KeyboardInputSensor keyboardInputSensor,
                                     [ApplicationScope] MouseInputSensor mouseInputSensor,
                                     [ApplicationScope] ActivityStack activityStack,
                                     [ApplicationScope] AchivementController achivementController,
                                     [EntityScope] PlayerMover playerMover,
                                     [EntityScope] Health health,
                                     [EntityScope] Inventory inventory,
                                     [EntityScope] InteractableSensor interactableSensor,
                                     [EntityScope] ItemSensor itemSensor,
                                     [EntityScope] SoldierAnimatorUpdater soldierAnimatorUpdater,
                                     [GameObjectScope] NetworkIdentity networkIdentity,
                                     [EventChannelScope] DeathCircleHurtEventChannel deathCircleHurtEventChannel,
                                     [EventChannelScope] BoostHealEventChannel boostHealEventChannel,
                                     [EventChannelScope] PlayerDeathEventChannel playerDeathEventChannel,
                                     [EventChannelScope] SpawnItemDropEventChannel spawnItemDropEventChannel)
 {
     this.keyboardInputSensor = keyboardInputSensor;
     this.mouseInputSensor    = mouseInputSensor;
     this.activityStack       = activityStack;
     this.playerMover         = playerMover;
     this.health                      = health;
     this.inventory                   = inventory;
     this.interactableSensor          = interactableSensor;
     this.itemSensor                  = itemSensor;
     this.networkIdentity             = networkIdentity;
     this.deathCircleHurtEventChannel = deathCircleHurtEventChannel;
     this.boostHealEventChannel       = boostHealEventChannel;
     this.soldierAnimatorUpdater      = soldierAnimatorUpdater;
     this.playerDeathEventChannel     = playerDeathEventChannel;
     this.spawnItemDropEventChannel   = spawnItemDropEventChannel;
     this.achivementController        = achivementController;
 }
Beispiel #2
0
 private void InjectStatisticController([ApplicationScope] PlayerKillrepository playerKillrepository,
                                        [ApplicationScope] AiKillRepository aiKillRepository,
                                        [ApplicationScope] ProtectionOfPlayerRepository protectionOfPlayerRepository,
                                        [ApplicationScope] AchivementController achivementController)
 {
     this.playerKillrepository         = playerKillrepository;
     this.aiKillRepository             = aiKillRepository;
     this.protectionOfPlayerRepository = protectionOfPlayerRepository;
     this.achivementController         = achivementController;
 }
Beispiel #3
0
 private void InjectAchivementUpdaterForInventory([EntityScope] Inventory inventory,
                                                  [ApplicationScope] AchivementController achivementController)
 {
     this.inventory            = inventory;
     this.achivementController = achivementController;
 }
Beispiel #4
0
 private void InjectAchivementAfficher([ApplicationScope] AchivementController achivementController,
                                       [ApplicationScope] AchivementRepository achivementRepository)
 {
     this.achivementController = achivementController;
     this.achivementRepository = achivementRepository;
 }
Beispiel #5
0
 public void InjectCreateAccountButton([ApplicationScope] AchivementController achivementController)
 {
     this.achivementController = achivementController;
 }
Beispiel #6
0
 private void InjectConnectButton([ApplicationScope] AchivementController achivementController)
 {
     this.achivementController = achivementController;
 }