Consolidate zombie prototyping

This commit is contained in:
jordan4ibanez 2022-08-01 20:07:28 -04:00
parent 56708e907a
commit f262f9a627

View File

@ -7,18 +7,14 @@ public class Zombie : Mob {
this() {
super();
writeln("I am creating a zombie object");
writeln("My UUID is: ", this.getUUID());
}
void scream() {
writeln("I am at health: ", this.getHealth());
// writeln("I am creating a zombie object");
// writeln("My UUID is: ", this.getUUID());
}
override void onSpawn() {
this.setHealth(10);
this.scream();
writeln("I am at health: ", this.getHealth());
}
override void onTick(double delta) {