2021-11-01 14:46:45 -04:00
|
|
|
pub struct GameLog {
|
|
|
|
pub entries: Vec<String>,
|
|
|
|
}
|
2021-11-05 14:32:14 -04:00
|
|
|
|
|
|
|
impl GameLog {
|
|
|
|
pub fn new<S: ToString>(first_entry: S) -> Self {
|
2021-11-15 13:55:31 -05:00
|
|
|
GameLog {
|
|
|
|
entries: vec![first_entry.to_string()],
|
|
|
|
}
|
2021-11-05 14:32:14 -04:00
|
|
|
}
|
|
|
|
}
|