コード例 #1
0
ファイル: Host.cs プロジェクト: sunoru/PBO
 void IGameManager.Input(int userId, ActionInput action)
 {
   if (State == RoomState.GameStarted)
     game.InputAction(userId, action);
 }
コード例 #2
0
ファイル: Player.cs プロジェクト: sunoru/PBO
 protected void Input(int userId, ActionInput action)
 {
 }
コード例 #3
0
ファイル: ActionInput.cs プロジェクト: sunoru/PBO
 internal static bool InputAction(GameContext game, Player player, ActionInput input)
 {
     #warning unfinished
       return true;
 }
コード例 #4
0
ファイル: GameManager.cs プロジェクト: sunoru/PBO
 public InputCommand(ActionInput action)
 {
     this.Action = action;
 }
コード例 #5
0
ファイル: Game.cs プロジェクト: sunoru/PBO
 bool IGame.InputAction(int playerId, ActionInput action)
 {
     return ActionInput.InputAction(this, GetPlayer(playerId), action);
 }
コード例 #6
0
ファイル: Game.cs プロジェクト: sunoru/PBO
 private static void GameLoop(GameContext game)
 {
     ActionInput[] actions = new ActionInput[game.Settings.PlayersPerTeam * game.Settings.TeamCount];
 }