Пример #1
0
 public void Construct(EnemyShipModel model,
                       ScoreSignal scoreSignal,
                       ShipExplosion.Pool shipExplosionPool,
                       MissileWeapon.Pool missileWeaponPool,
                       PlayableShip playerShip)
 {
     _model             = model;
     _scoreSignal       = scoreSignal;
     _shipExplosionPool = shipExplosionPool;
     _missileWeaponPool = missileWeaponPool;
     _playerShip        = playerShip;
 }
Пример #2
0
 public void Construct(
     PlayerModel playerModel,
     PlayableShip shipView,
     InputReceivedSignal inputReceivedSignal,
     PlayerHitSignal playerHitSignal,
     PlayerDeathSignal playerDeathSignal)
 {
     _playerModel         = playerModel;
     _shipView            = shipView;
     _inputReceivedSignal = inputReceivedSignal;
     _playerHitSignal     = playerHitSignal;
     _playerDeathSignal   = playerDeathSignal;
 }