Example #1
0
 public SimGame(int userId, int teamId, PokemonCustomInfo[] pms, GameSettings settings)
 {
     Team = new Team(teamId, settings);
       Team.AddPlayer(userId, pms);
       Player = Team.GetPlayer(userId);
       Pokemons = new SimPokemon[settings.XBound];
       pokemons = new List<SimPokemon>();
 }
Example #2
0
File: Game.cs Project: sunoru/PBO
 public GameContext(GameSettings settings)
 {
     Settings = settings;
       Teams = new Team[settings.TeamCount];
       for (int i = 0; i < settings.TeamCount; i++)
     Teams[i] = new Team(i, settings);
       Board = new Board(settings);
       turnBuilder = new TurnBuilder(this);
       actions = new ActionInput[Settings.PlayersPerTeam * Settings.TeamCount];
 }
Example #3
0
 internal void SetTargetPanel(Move move, Team rival)
 {
 }