コード例 #1
0
 public void Constructor(GameInfo gameInfo, SignalBus signalBus, Heart.Factory heartsFactory, DefaultModeBehaviour modeBehaviour, SurviveModePanel.Factory surviveModeFactory, CheckpointsModePanel.Factory checkpointsModeFactory, DestroyModePanel.Factory destroyModeFactory, MobileControlPanel.Factory mobileFactory)
 {
     _gameInfo               = gameInfo;
     _signalBus              = signalBus;
     _heartsFactory          = heartsFactory;
     _modeBehaviour          = modeBehaviour;
     _surviveModeFactory     = surviveModeFactory;
     _checkpointsModeFactory = checkpointsModeFactory;
     _destroyModeFactory     = destroyModeFactory;
     _mobileFactory          = mobileFactory;
 }
コード例 #2
0
 public CheckpointsModeRunnerBehaviour(DefaultModeBehaviour defaultModeBehaviour, CheckPointsModeInfo modeInfo, LevelInfo levelInfo, SignalBus signalBus) : base(defaultModeBehaviour, modeInfo, levelInfo, signalBus)
 {
 }
コード例 #3
0
 public CheckpointsModeBehaviour(DefaultModeBehaviour defaultModeBehaviour, CheckPointsModeInfo modeInfo, LevelInfo levelInfo, SignalBus signalBus)
 {
     _defaultModeBehaviour = defaultModeBehaviour;
     LevelInfo             = levelInfo;
     SignalBus             = signalBus;
 }
コード例 #4
0
 [Inject] public void Construct(DefaultModeBehaviour modeBehaviour, CheckpointsModeBehaviour checkpointsModeBehaviour)
 {
     _modeBehaviour            = modeBehaviour;
     _checkpointsModeBehaviour = checkpointsModeBehaviour;
 }
コード例 #5
0
 public void Construct([InjectOptional] DefaultModeBehaviour modeBehaviour, SignalBus signalBus)
 {
     _modeBehaviour = modeBehaviour;
     _signalBus     = signalBus;
 }
コード例 #6
0
 [Inject] public void Construct(DefaultModeBehaviour modeBehaviour, SurviveModeBehaviour surviveModeBehaviour)
 {
     _modeBehaviour        = modeBehaviour;
     _surviveModeBehaviour = surviveModeBehaviour;
 }
コード例 #7
0
 public SurviveModeRunnerBehaviour(DefaultModeBehaviour modeBehaviour, SurviveModeInfo modeInfo, SignalBus signalBus) : base(modeBehaviour, modeInfo, signalBus)
 {
 }
コード例 #8
0
 public SurviveModeBehaviour(DefaultModeBehaviour modeBehaviour, SurviveModeInfo modeInfo, SignalBus signalBus)
 {
     ModeBehaviour   = modeBehaviour;
     SignalBus       = signalBus;
     SurviveModeInfo = modeInfo;
 }
コード例 #9
0
 [Inject] public void Construct(DefaultModeBehaviour modeBehaviour, DestroyModeBehaviour destroyModeBehaviour)
 {
     _defaultModeBehaviour = modeBehaviour;
     _destroyModeBehaviour = destroyModeBehaviour;
 }
コード例 #10
0
 public DestroyModeRunnerBehaviour(DefaultModeBehaviour defaultModeBehaviour, DestroyModeInfo destroyModeInfo, SignalBus signalBus) : base(defaultModeBehaviour, destroyModeInfo, signalBus)
 {
 }
コード例 #11
0
 public DestroyModeBehaviour(DefaultModeBehaviour defaultModeBehaviour, DestroyModeInfo destroyModeInfo, SignalBus signalBus)
 {
     DefaultModeBehaviour = defaultModeBehaviour;
     SignalBus            = signalBus;
     DestroyModeInfo      = destroyModeInfo;
 }