From 1ce479afaad238ce1e663ed70192fc8103063260 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Thu, 18 Jun 2020 09:11:54 +0100 Subject: [PATCH] clarification --- src/game.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game.rs b/src/game.rs index 9e9c6a1..3bbebb6 100644 --- a/src/game.rs +++ b/src/game.rs @@ -3,8 +3,9 @@ use std::error::Error; use loe::TransformMode; use std::str::FromStr; -/// in very early versions of Bitsy, room tiles were defined as single characters -/// so, only 36 tiles total. later versions are comma-separated +/// in very early versions of Bitsy, room tiles were defined as single alphanumeric characters - +/// so there was a maximum of 36 unique tiles. later versions are comma-separated. +/// RoomFormat is implemented here so we can save in the original format. #[derive(Debug, Eq, PartialEq, Copy, Clone)] pub enum RoomFormat {Contiguous, CommaSeparated}