Package | Description |
---|---|
com.jonathan.survivor | |
com.jonathan.survivor.entity | |
com.jonathan.survivor.inventory | |
com.jonathan.survivor.managers |
Modifier and Type | Method and Description |
---|---|
void |
Profile.addScavengedLayerObject(GameObject gameObject)
Adds the given GameObject as a scavenged GameObject.
|
Modifier and Type | Class and Description |
---|---|
class |
Box |
class |
Earthquake |
class |
Human
A Human instance is a GameObject that can move around and that either has some form of AI or is controlled by the player.
|
class |
InteractiveObject |
class |
ItemObject |
class |
Player |
class |
Projectile |
class |
Tree |
class |
Zombie |
Modifier and Type | Method and Description |
---|---|
GameObject |
Human.getTarget()
Gets the target where the human wants to walk to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GameObject.isAbove(GameObject gameObject)
Returns true if this GameObject is above the given GameObject.
|
void |
Human.setTarget(GameObject target)
Sets the target where the human wants to walk to.
|
Modifier and Type | Method and Description |
---|---|
void |
RangedWeapon.hit(GameObject gameObject)
Called when the RangedWeapon has hit a GameObject and should deal damage to it.
|
void |
MeleeWeapon.hit(GameObject gameObject)
Called when the MeleeWeapon has hit a GameObject and should deal damage to it.
|
Modifier and Type | Method and Description |
---|---|
abstract GameObject |
GameObjectPool.newObject()
Retrieves and returns a free GameObject in the pool or creates a new one if none are free.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
GameObjectManager.freeGameObject(GameObject gameObject,
java.lang.Class<T> goClass)
Frees a gameObject back inside the manager's internal GameObject pools.
|