feat(character): init Character struct

- u8 life, damage, and mana
- rodata string name
This commit is contained in:
2026-01-11 20:29:54 +01:00
parent 10030d4ef8
commit b4ead4e733
2 changed files with 7 additions and 3 deletions

6
src/character.rs Normal file
View File

@@ -0,0 +1,6 @@
struct Character {
life: u8,
damage: u8,
mana: u8,
name: &'static str,
}