示例#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];
 }