Florian
12/11/2019, 9:42 AMval healthBonus
inside the init block doesn't make much sense, does it?tseisel
12/11/2019, 10:28 AMinit
block, right under the health
declaration. Note that declarations and init blocks are executed in order.Alowaniak
12/11/2019, 10:58 AMinit
block makes it a variable scoped to the block, so it wouldn't even be a propertyFlorian
12/12/2019, 9:23 AMFlorian
12/12/2019, 9:23 AM