Esempio n. 1
0
 public PacManJoined()
 {
     ServerFacade = ServerFacadeFactory.GetServerFacade();
     ServerFacade.CreateGameX("GameName");
     var pacman = ServerFacade.JoinGameX("GameName", "PacManName", PlayerRole.PacMan);
     GameInstance = ServerFacade.GetGameStateForX(pacman.PlayerId);
 }
Esempio n. 2
0
 public PacManStartedGame()
 {
     ServerFacade = ServerFacadeFactory.GetServerFacade();
     ServerFacade.CreateGameX("GameName");
     var pacman = ServerFacade.JoinGameX("GameName", "PacManName", PlayerRole.PacMan);
     ServerFacade.UpdateMyWhereabouts(new ServerPollParameters(pacman.PlayerId, 0, 0, true));
     GameInstance = ServerFacade.GetGameStateForX(pacman.PlayerId);
 }
Esempio n. 3
0
 public GameCreated()
 {
     ServerFacade = ServerFacadeFactory.GetServerFacade();
     ServerFacade.CreateGameX("GameName");
     GameInstance = ServerFacade.GetGameStateAsObvserverX("GameName");
 }