Package | Description |
---|---|
com.jonathan.survivor.entity | |
com.jonathan.survivor.managers | |
com.jonathan.survivor.renderers |
Modifier and Type | Method and Description |
---|---|
Zombie |
Player.getZombieToFight()
Returns the zombie that the player should fight once he enters combat mode.
|
Modifier and Type | Method and Description |
---|---|
void |
Player.hitHead(Zombie zombie)
Called when the player hits a zombie's head.
|
void |
Player.meleeHit(Zombie zombie)
Deals damage to the zombie with the player's melee weapon.
|
void |
Player.setZombieToFight(Zombie zombieToFight)
Sets the zombie the player should fight once he enters combat mode.
|
Modifier and Type | Method and Description |
---|---|
void |
ZombieManager.update(Zombie zombie,
float deltaTime)
Updates the game logic for the given zombie.
|
Modifier and Type | Method and Description |
---|---|
void |
ZombieRenderer.draw(Zombie zombie,
boolean transparent,
float deltaTime)
Draws the zombie using his Spine skeleton, which stores his animations, sprites, and everything needed to draw the zombie.
|