Merge pull request #8839 from RoosterDragon/test-sync-implementations

Test sync implementations
This commit is contained in:
Pavel Penev
2015-09-24 15:17:33 +03:00
6 changed files with 39 additions and 18 deletions

View File

@@ -30,7 +30,7 @@ namespace OpenRA
public readonly uint ActorID;
[Sync] public Player Owner { get; set; }
public Player Owner { get; set; }
public bool IsInWorld { get; internal set; }
public bool Disposed { get; private set; }

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Traits
public object Create(ActorInitializer init) { return new Shroud(init.Self); }
}
public class Shroud
public class Shroud : ISync
{
[Sync] public bool Disabled;