예제 #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];
 }