Пример #1
0
    public virtual GamePlayerSpawn getSpawn(string code)
    {
        GameAIController.CheckSpawns();

        foreach (KeyValuePair <string, GamePlayerSpawn> pair in spawns)
        {
            if (pair.Key == code)
            {
                return(pair.Value);
            }
        }
        return(null);
    }
Пример #2
0
 public virtual void init()
 {
     GameAIController.CheckSpawns();
 }