Пример #1
0
 void CreateTeams()
 {
     MainPlayer = new Player();
     MainPlayer.SetEnabled(true);
     MainPlayer.SetControllable(true);
     MainPlayer.SetSpawnPosition(FindEntity("Tent").Transformation.GetPosition());
     //MainPlayer.SetSpawnPosition(FindEntity("Tent").Transformation.GetPosition());
     Entities.Add("Player", MainPlayer);
     MainDirector = new AIDirector();
     Entities.Add("AIDirector", MainDirector);
     Entities.Add("SeaMonster", new SeaMonster());
 }
Пример #2
0
 void CreateTeams()
 {
     Player player = new Player();
     player.SetEnabled(true);
     player.SetControllable(true);
     Entities.Add("Player", player);
 }