clarification

This commit is contained in:
Max Bradbury 2020-06-18 09:11:54 +01:00
parent 4ed5ed3d65
commit 1ce479afaa
1 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,9 @@ use std::error::Error;
use loe::TransformMode; use loe::TransformMode;
use std::str::FromStr; use std::str::FromStr;
/// in very early versions of Bitsy, room tiles were defined as single characters /// in very early versions of Bitsy, room tiles were defined as single alphanumeric characters -
/// so, only 36 tiles total. later versions are comma-separated /// 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)] #[derive(Debug, Eq, PartialEq, Copy, Clone)]
pub enum RoomFormat {Contiguous, CommaSeparated} pub enum RoomFormat {Contiguous, CommaSeparated}