Moving Team to a more sensible location.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use crate::{Down, Play, Team, TerrainState, error};
|
use crate::{Down, Play, TerrainState, error};
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
|
|
||||||
type Offence = Team;
|
type Offence = Team;
|
||||||
@@ -76,6 +76,19 @@ impl Event {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Deserialize, Clone, PartialEq)]
|
||||||
|
pub enum Team {
|
||||||
|
ArizonaState,
|
||||||
|
#[deprecated(since = "0.2.0", note = "Team left the project.")]
|
||||||
|
BoiseState,
|
||||||
|
Colorado,
|
||||||
|
Iowa,
|
||||||
|
Nebraska,
|
||||||
|
SouthCarolina,
|
||||||
|
Syracuse,
|
||||||
|
TexasAnM,
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize, Clone, PartialEq, Default)]
|
#[derive(Debug, Deserialize, Clone, PartialEq, Default)]
|
||||||
pub enum ScorePoints {
|
pub enum ScorePoints {
|
||||||
#[default]
|
#[default]
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
mod action;
|
mod action;
|
||||||
mod error;
|
mod error;
|
||||||
|
#[allow(deprecated)]
|
||||||
mod event;
|
mod event;
|
||||||
mod file;
|
mod file;
|
||||||
mod game;
|
mod game;
|
||||||
mod period;
|
mod period;
|
||||||
#[allow(deprecated)]
|
|
||||||
mod play;
|
mod play;
|
||||||
mod terrain;
|
mod terrain;
|
||||||
|
|
||||||
|
|||||||
@@ -26,16 +26,3 @@ pub enum Down {
|
|||||||
Third,
|
Third,
|
||||||
Fourth,
|
Fourth,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize, Clone, PartialEq)]
|
|
||||||
pub enum Team {
|
|
||||||
ArizonaState,
|
|
||||||
#[deprecated(since = "0.2.0", note = "Team left the project.")]
|
|
||||||
BoiseState,
|
|
||||||
Colorado,
|
|
||||||
Iowa,
|
|
||||||
Nebraska,
|
|
||||||
SouthCarolina,
|
|
||||||
Syracuse,
|
|
||||||
TexasAnM,
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user