basic Sync checking. No protocol stuff yet; just checks that input events are well-behaved.

This commit is contained in:
Bob
2010-01-09 14:25:54 +13:00
parent 1bf7e462d6
commit b24983f0ef
41 changed files with 147 additions and 24 deletions

View File

@@ -10,12 +10,16 @@ namespace OpenRa.Game
{
class Actor
{
[Sync]
public readonly TypeDictionary traits = new TypeDictionary();
public readonly UnitInfo Info;
public readonly uint ActorID;
[Sync]
public int2 Location;
[Sync]
public Player Owner;
[Sync]
public int Health;
IActivity currentActivity;