feat: Add watering (#27)

This commit is contained in:
demenik
2025-12-02 15:46:48 +01:00
parent d07dcc3e7c
commit 4df968af2e
7 changed files with 159 additions and 5 deletions

View File

@@ -10,6 +10,9 @@ pub struct Tile {
#[derive(Component)]
pub struct CropVisual;
#[derive(Component)]
pub struct WaterVisual;
#[derive(Component, Default, Serialize, Deserialize, Clone, Debug)]
pub enum TileState {
#[default]
@@ -17,6 +20,7 @@ pub enum TileState {
Empty,
Occupied {
seed: ItemType,
watered: bool,
},
}