private void WarpRoom(Command command) { int roomId; if(Int32.TryParse(command.Subject, out roomId) == false) { ShowError(); } else { currentRoomIndex = roomId; DrawRoom(); } }