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