fixed stuff

no progress 💀
This commit is contained in:
FantasyPvP
2023-11-27 00:21:34 +00:00
parent b16ce4a6f2
commit 417833fc41
15 changed files with 40 additions and 423 deletions
+23
View File
@@ -0,0 +1,23 @@
use crate::system::std::application::Application;
use async_trait::async_trait;
use alloc::boxed::Box;
use alloc::string::String;
use alloc::vec::Vec;
use crate::std::application::Error;
pub struct Player {
pub health: u32,
pub score: u32
}
impl Player {
pub fn new() -> Player {
Player {
health: 5,
score: 0
}
}
}
pub struct Game {
pub player: Player
}