Restore TerrainState::Distance with deprecation notice.

This commit is contained in:
Cutieguwu
2025-03-26 21:22:11 -04:00
parent 6a75bdbf9f
commit 6e69180597

View File

@@ -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,