Rewrite spawn point assignment logic.

This commit is contained in:
Paul Chote
2020-10-13 19:17:25 +01:00
committed by teinarss
parent b2b639434c
commit a375f0e58a
9 changed files with 101 additions and 72 deletions

View File

@@ -373,6 +373,13 @@ namespace OpenRA.Traits
void CreateServerPlayers(MapPreview map, Session lobbyInfo, List<GameInformation.Player> players);
}
[RequireExplicitImplementation]
public interface IAssignSpawnPoints
{
CPos AssignHomeLocation(World world, Session.Client client);
int SpawnPointForPlayer(Player player);
}
public interface IBotInfo : ITraitInfoInterface
{
string Type { get; }