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