save
All checks were successful
Rust Checks / checks (push) Successful in 4m34s
Rust Checks / checks (pull_request) Successful in 2m21s

This commit is contained in:
CoCo_Sol 2024-04-05 07:40:04 +02:00
parent 773ba1cbd9
commit 1fa3c8f268
2 changed files with 17 additions and 0 deletions

View file

@ -8,6 +8,7 @@ use serde::{Deserialize, Serialize};
pub mod camera;
pub mod map;
pub mod networking;
pub mod resources;
pub mod scenes;
pub mod ui;

View file

@ -0,0 +1,16 @@
//! ToDo
use bevy::prelude::*;
/// The resources of the game.
#[derive(Resource, Default)]
pub struct Resources {
/// The stone resource.
pub stone: u32,
/// The wood resource.
pub wood: u32,
/// The food resource.
pub food: u32,
}