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