コード例 #1
0
 public MatchIntroState(GameState gameState)
     : base(gameState)
 {
     _stopwatch = new Stopwatch();
     InputProcessor = new NoInputProcessor();
     _playedSecondSound = false;
 }
コード例 #2
0
 public EndGameState(GameState gameState, bool playerWon)
     : base(gameState)
 {
     _stopwatch = new Stopwatch();
     InputProcessor = new NoInputProcessor();
     _playerWon = playerWon;
 }
コード例 #3
0
 public AbilitySelection(GameState gameState, IState previousState, ActionInformation actionInformation)
     : base(gameState)
 {
     _previousState = previousState;
     _actionInformation = actionInformation;
     InputProcessor = new AbilitySelectionProcessor(gameState, this);
 }
コード例 #4
0
 public ActionAnimationPlaying(GameState gameState, ActionInformation actionInformation, Tile tile)
     : base(gameState)
 {
     _actionInformation = actionInformation;
     _stateName = "ActorAnimationPlaying" + _num++;
     _script = _actionInformation.Script(tile);
     InputProcessor = new NoInputProcessor();
 }
コード例 #5
0
 protected GameStateBase(GameState gameState)
 {
     GameState = gameState;
 }
コード例 #6
0
 public SelectWaitDirectionProcessor(GameState gameState, SelectWaitDirection selectWaitDirection)
     : base(gameState)
 {
     _selectWaitDirection = selectWaitDirection;
 }
コード例 #7
0
 public AbilitySelectionProcessor(GameState gameState, AbilitySelection abilitySelection)
     : base(gameState)
 {
     _abilitySelection = abilitySelection;
 }
コード例 #8
0
 public ActionSelection(GameState gameState, ActorBase actionActor)
     : base(gameState)
 {
     InputProcessor = new ActionSelectionProcessor(gameState, this);
     _actionActor = actionActor;
 }
コード例 #9
0
 public ActionSelectionProcessor(GameState gameState, ActionSelection actionSelection)
     : base(gameState)
 {
     _actionSelection = actionSelection;
 }
コード例 #10
0
ファイル: AIDecision.cs プロジェクト: doomtactics/doomtactics
 public AIDecision(GameState gameState, ActorBase actor)
     : base(gameState)
 {
     _actor = actor;
     InputProcessor = new NoInputProcessor();
 }
コード例 #11
0
 public FreeCameraInputProcessor(GameState gameState, FreeCamera freeCamera)
     : base(gameState)
 {
     _freeCamera = freeCamera;
 }
コード例 #12
0
 public GameStateBaseInputProcessor(GameState gameState)
     : base(Keyboard.GetState(), Mouse.GetState())
 {
     GameState = gameState;
 }
コード例 #13
0
ファイル: FreeCamera.cs プロジェクト: doomtactics/doomtactics
 public FreeCamera(GameState gameState, IState previousState)
     : base(gameState)
 {
     _previousState = previousState;
     InputProcessor = new FreeCameraInputProcessor(gameState, this);
 }
コード例 #14
0
 public SelectWaitDirection(GameState gameState)
     : base(gameState)
 {
     InputProcessor = new SelectWaitDirectionProcessor(GameState, this);
 }