Package | Description |
---|---|
com.jonathan.survivor.entity | |
com.jonathan.survivor.managers | |
com.jonathan.survivor.renderers |
Modifier and Type | Method and Description |
---|---|
void |
Zombie.chargeHit(Player player)
Make the zombie charge hit the player.
|
Modifier and Type | Method and Description |
---|---|
Player |
GameObjectManager.getPlayer()
Returns the Player GameObject being managed by the manager.
|
Constructor and Description |
---|
PlayerRenderer(Player player,
com.jonathan.survivor.World world,
com.badlogic.gdx.graphics.g2d.SpriteBatch batcher,
com.badlogic.gdx.graphics.OrthographicCamera worldCamera)
Accepts the player GameObject to render, the world whose methods are called on animation events, the SpriteBatch used to draw the player, and the world
camera where the player is drawn.
|