generated from tipragot/rust
save
This commit is contained in:
parent
773ba1cbd9
commit
1fa3c8f268
|
@ -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;
|
||||
|
||||
|
|
16
crates/border-wars/src/resources.rs
Normal file
16
crates/border-wars/src/resources.rs
Normal 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,
|
||||
}
|
Loading…
Reference in a new issue