Esempio n. 1
0
 public Session(IPEndPoint endPoint, ushort clientId, ushort serverId)
 {
     EndPoint = endPoint;
     Network  = new NetworkSession(this, clientId, serverId);
     actionQueue.SetParent(WorldManager.ActionQueue);
 }
Esempio n. 2
0
 /// <summary>
 /// Manages action/broadcast infrastructure
 /// </summary>
 /// <param name="parent"></param>
 public void SetParent(IActor parent)
 {
     CurrentParent = parent;
     actionQueue.RemoveParent();
     actionQueue.SetParent(parent);
 }