diff --git a/src/gamelog.rs b/src/gamelog.rs index 6b70da7..08659bc 100644 --- a/src/gamelog.rs +++ b/src/gamelog.rs @@ -34,6 +34,13 @@ enum Quarter { Fourth, } +#[derive(Debug, Deserialize)] +enum TerrainState { + Distance(u8), + GoalLine, + In, +} + #[derive(Debug, Deserialize)] struct Play { action: Option, diff --git a/templates/logfile.ron b/templates/logfile.ron index 0b52b93..9947a0a 100644 --- a/templates/logfile.ron +++ b/templates/logfile.ron @@ -4,7 +4,7 @@ [ GameRecord( - version: "0.0.1", + version: "0.1.0", periods: [ Period( start: First, @@ -15,7 +15,7 @@ down: Kickoff( offence: Nebraska ), - terrain: 0 + terrain: Distance(10) ), ] )