private RoomClass SwitchRoom(NuimoGesture gesture) { switch (gesture) { case NuimoGesture.SwipeLeft: CurrentRoom = CurrentRoom?.PreviousOrLast(); break; case NuimoGesture.SwipeRight: CurrentRoom = CurrentRoom?.NextOrFirst(); break; default: throw new ArgumentOutOfRangeException(nameof(gesture), gesture, null); } return(CurrentRoom.Value); }