mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-02 16:33:31 +02:00
progress
This commit is contained in:
@@ -36,6 +36,7 @@ const Character = struct {
|
||||
role: Role,
|
||||
gold: u32,
|
||||
experience: u32,
|
||||
health: u8,
|
||||
};
|
||||
|
||||
pub fn main() void {
|
||||
@@ -44,6 +45,7 @@ pub fn main() void {
|
||||
.role = Role.wizard,
|
||||
.gold = 20,
|
||||
.experience = 10,
|
||||
.health = 100,
|
||||
};
|
||||
|
||||
// Glorp gains some gold.
|
||||
|
||||
Reference in New Issue
Block a user