From 8193d84faa878893ae637ab60624c60ea38598d4 Mon Sep 17 00:00:00 2001 From: spiders Date: Tue, 3 May 2022 11:02:19 -0700 Subject: [PATCH] documentation --- src/critters.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/critters.rs b/src/critters.rs index a5eb3fb..c1355a4 100644 --- a/src/critters.rs +++ b/src/critters.rs @@ -1,12 +1,7 @@ use super::kule::*; use voca_rs::*; -pub enum CritterName { - Kije, - Little, - File(String), -} - +// represents inherent structural information about a critter #[derive(Clone)] pub struct CritterTemplate { // text column where speech line joins speech bubble @@ -20,6 +15,8 @@ pub struct CritterTemplate { */ pub critter: String, } + +// pairs a critter with formatting information for the optional formatting strings. #[derive(Clone)] pub struct CritterConfig { pub left_eye: String,