Esempio n. 1
0
File: Host.cs Progetto: sunoru/PBO
 void IGameManager.Input(int userId, ActionInput action)
 {
   if (State == RoomState.GameStarted)
     game.InputAction(userId, action);
 }
Esempio n. 2
0
File: Player.cs Progetto: sunoru/PBO
 protected void Input(int userId, ActionInput action)
 {
 }
Esempio n. 3
0
 internal static bool InputAction(GameContext game, Player player, ActionInput input)
 {
     #warning unfinished
       return true;
 }
Esempio n. 4
0
 public InputCommand(ActionInput action)
 {
     this.Action = action;
 }
Esempio n. 5
0
File: Game.cs Progetto: sunoru/PBO
 bool IGame.InputAction(int playerId, ActionInput action)
 {
     return ActionInput.InputAction(this, GetPlayer(playerId), action);
 }
Esempio n. 6
0
File: Game.cs Progetto: sunoru/PBO
 private static void GameLoop(GameContext game)
 {
     ActionInput[] actions = new ActionInput[game.Settings.PlayersPerTeam * game.Settings.TeamCount];
 }