Restore TerrainState::Distance with deprecation notice.
This commit is contained in:
@@ -2,6 +2,8 @@ use serde::Deserialize;
|
|||||||
|
|
||||||
#[derive(Debug, Deserialize, Clone)]
|
#[derive(Debug, Deserialize, Clone)]
|
||||||
pub enum TerrainState {
|
pub enum TerrainState {
|
||||||
|
#[deprecated(since = "0.2.0", note = "Replaced in favour of TerrainState::Yards")]
|
||||||
|
Distance(u8),
|
||||||
Yards(u8),
|
Yards(u8),
|
||||||
GoalLine,
|
GoalLine,
|
||||||
Inches,
|
Inches,
|
||||||
|
|||||||
Reference in New Issue
Block a user