Replay stuff.
FYI: Don't try to replay a game where you built any vehicles. It WILL fail horribly.
This commit is contained in:
@@ -14,14 +14,16 @@ namespace OpenRa.Game
|
||||
class Actor
|
||||
{
|
||||
public readonly TypeDictionary traits = new TypeDictionary();
|
||||
public readonly UnitInfo unitInfo;
|
||||
|
||||
public readonly UnitInfo unitInfo;
|
||||
|
||||
public readonly uint ActorID;
|
||||
public int2 Location;
|
||||
public Player Owner;
|
||||
public int Health;
|
||||
|
||||
public Actor( string name, int2 location, Player owner )
|
||||
{
|
||||
{
|
||||
ActorID = Game.world.NextAID();
|
||||
unitInfo = Rules.UnitInfo[ name ];
|
||||
Location = location;
|
||||
CenterLocation = new float2( 12, 12 ) + Game.CellSize * (float2)Location;
|
||||
|
||||
Reference in New Issue
Block a user