diff --git a/INetworkEntity.cs b/INetworkEntity.cs index ffe16f5..af48f3e 100644 --- a/INetworkEntity.cs +++ b/INetworkEntity.cs @@ -44,6 +44,6 @@ public interface INetworkEntity /// A generic object describing an entity state /// The time this state was received, compare to current network time to understand elapsed time /// Whether or not this is a dead reckoning update - void UpdateState(object entityState, double stateTime); + void UpdateFromState(object entityState, double stateTime); } } diff --git a/NetworkManager.cs b/NetworkManager.cs index c03726c..61a46f9 100644 --- a/NetworkManager.cs +++ b/NetworkManager.cs @@ -449,7 +449,7 @@ private void CreateEntity(long ownerId, long entityId, object payload, double ti throw new RedGrinException(msg); } - targetEntity.UpdateState(payload, time); + targetEntity.UpdateFromState(payload, time); targetEntity.OwnerId = ownerId; targetEntity.EntityId = entityId; mEntities.Add(targetEntity); @@ -493,7 +493,7 @@ private void UpdateEntity(long entityId, long ownerId, object payload, bool isRe { if(targetEntity.OwnerId != this.NetworkId || isReckoning) { - targetEntity.UpdateState(payload, time); + targetEntity.UpdateFromState(payload, time); } BroadcastIfServer(entityId, targetEntity.OwnerId, payload, diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index df74d4d..99fa3e7 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,9 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +// 1.1.0.0 +// - NetworkManager is now a singleton +// - Reduced necessary arguments for INetworkEntity and INetworkArena implementation. +// - +[assembly: AssemblyVersion("1.1.0.0")] +[assembly: AssemblyFileVersion("1.1.0.0")]