This commit is contained in:
parent
8f885dd927
commit
6d0b33d718
|
@ -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| {
|
||||
|
|
Loading…
Reference in New Issue