added World.NeutralPlayer
This commit is contained in:
@@ -24,9 +24,9 @@ namespace OpenRA.Traits
|
||||
|
||||
class SpawnDefaultUnits : IOnGameStart
|
||||
{
|
||||
public void SpawnStartingUnits(Player p, int2 sp)
|
||||
public void GameStarted(Player p, int2 sp)
|
||||
{
|
||||
p.PlayerActor.World.CreateActor("mcv", sp, p);
|
||||
p.World.CreateActor("mcv", sp, p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace OpenRA.Traits
|
||||
|
||||
public interface INotifySelection { void SelectionChanged(); }
|
||||
public interface ILoadWorldHook { void WorldLoaded(World w); }
|
||||
public interface IOnGameStart { void SpawnStartingUnits(Player p, int2 sp); }
|
||||
public interface IOnGameStart { void GameStarted(Player p, int2 sp); }
|
||||
|
||||
public interface IActivity
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user