This commit is contained in:
Adam Millerchip 2021-12-26 23:30:15 +09:00
parent 8f885dd927
commit 6d0b33d718
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,12 @@ pub fn main() void {
//
// Feel free to run this program without adding Zump. What does
// it do and why?
chars[1] = Character{
.class = Class.bard,
.gold = 10,
.health = 100,
.experience = 20,
};
// Printing all RPG characters in a loop:
for (chars) |c, num| {