Ejemplo n.º 1
0
 public void SetChild(RoomPrototype childRoomPrototype, RoomConnector childConnection)
 {
     ChildConnection    = childConnection;
     ChildRoomPrototype = childRoomPrototype;
     State = PrototypeConnectionState.CONNECTED;
 }
Ejemplo n.º 2
0
 public void ClearChild()
 {
     ChildConnection    = null;
     ChildRoomPrototype = null;
     State = PrototypeConnectionState.FREE;
 }
Ejemplo n.º 3
0
 public RoomPrototypeConnection(RoomPrototype parentRoomPrototype, RoomConnector parentConnection)
 {
     ParentConnection    = parentConnection;
     ParentRoomPrototype = parentRoomPrototype;
     State = PrototypeConnectionState.FREE;
 }