|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of GameObject in com.brackeen.javagamebook.ai |
Subclasses of GameObject in com.brackeen.javagamebook.ai | |
class |
AIBot
|
class |
EvolutionBot
|
class |
Projectile
The Blast GameObject is a projectile, designed to travel in a straight line for five seconds, then die. |
Methods in com.brackeen.javagamebook.ai with parameters of type GameObject | |
void |
Projectile.update(GameObject player,
long elapsedTime)
|
void |
Projectile.notifyObjectCollision(GameObject object)
|
void |
AIBot.update(GameObject player,
long elapsedTime)
|
void |
AIBot.updateHelper(GameObject player,
long elapsedTime)
|
boolean |
AIBot.canSee(GameObject object)
Checks if this object can see the specified object, (assuming this object has eyes in the back of its head). |
boolean |
AIBot.canHear(GameObject object)
Checks if this object can hear the specified object. |
Uses of GameObject in com.brackeen.javagamebook.ai.pattern |
Methods in com.brackeen.javagamebook.ai.pattern with parameters of type GameObject | |
java.util.Iterator |
RunAwayPattern.find(GameObject bot,
GameObject player)
|
java.util.Iterator |
DodgePatternZigZag.find(GameObject bot,
GameObject player)
|
java.util.Iterator |
DodgePatternRandom.find(GameObject bot,
GameObject player)
|
java.util.Iterator |
AttackPatternStrafe.find(GameObject bot,
GameObject player)
|
java.util.Iterator |
AttackPatternRush.find(GameObject bot,
GameObject player)
|
java.util.Iterator |
AimPattern.find(GameObject bot,
GameObject player)
|
abstract java.util.Iterator |
AIPattern.find(GameObject bot,
GameObject player)
|
Uses of GameObject in com.brackeen.javagamebook.game |
Methods in com.brackeen.javagamebook.game that return GameObject | |
GameObject |
SimpleGameObjectManager.getPlayer()
Gets the object specified as the Player object, or null if no player object was specified. |
GameObject |
GridGameObjectManager.getPlayer()
Gets the object specified as the Player object, or null if no player object was specified. |
GameObject |
GameObjectManager.getPlayer()
Gets the object specified as the Player object, or null if no player object was specified. |
Methods in com.brackeen.javagamebook.game with parameters of type GameObject | |
void |
SimpleGameObjectManager.add(GameObject object)
Adds a GameObject to this manager. |
void |
SimpleGameObjectManager.addPlayer(GameObject player)
Adds a GameObject to this manager, specifying it as the player object. |
void |
SimpleGameObjectManager.remove(GameObject object)
Removes a GameObject from this manager. |
void |
Physics.applyGravity(GameObject object,
long elapsedTime)
Applies gravity to the specified GameObject according to the amount of time that has passed. |
void |
Physics.scootUp(GameObject object,
long elapsedTime)
Applies the scoot-up acceleration to the specified GameObject according to the amount of time that has passed. |
void |
Physics.scootDown(GameObject object,
long elapsedTime)
Applies the negative scoot-up acceleration to the specified GameObject according to the amount of time that has passed. |
void |
Physics.jumpToHeight(GameObject object,
float jumpHeight)
Sets the specified GameObject's vertical velocity to jump to the specified height. |
void |
Physics.jump(GameObject object,
float jumpVelocity)
Sets the specified GameObject's vertical velocity to the specified jump velocity. |
void |
GridGameObjectManager.add(GameObject object)
Adds a GameObject to this manager. |
void |
GridGameObjectManager.remove(GameObject object)
Removes a GameObject from this manager. |
void |
GridGameObjectManager.addPlayer(GameObject player)
Adds a GameObject to this manager, specifying it as the player object. |
boolean |
GridGameObjectManager.checkObjectCollision(GameObject object,
Vector3D oldLocation)
Checks to see if the specified object collides with any other object. |
boolean |
GameObjectRenderer.draw(java.awt.Graphics2D g,
GameObject object)
Draws the object and returns true if any part of the object is visible. |
void |
GameObjectManager.add(GameObject object)
Adds a GameObject to this manager. |
void |
GameObjectManager.addPlayer(GameObject player)
Adds a GameObject to this manager, specifying it as the player object. |
void |
GameObjectManager.remove(GameObject object)
Removes a GameObject from this manager. |
void |
GameObject.update(GameObject player,
long elapsedTime)
If this GameObject is in the active state, this method updates it's PolygonGroup. |
BSPPolygon |
CollisionDetectionWithSliding.checkWalls(GameObject object,
Vector3D oldLocation,
long elapsedTime)
Checks for a game object collision with the walls of the BSP tree. |
boolean |
CollisionDetection.checkBSP(GameObject object,
Vector3D oldLocation,
long elapsedTime)
Checks a GameObject against the BSP tree. |
void |
CollisionDetection.getFloorAndCeiling(GameObject object)
Gets the floor and ceiling values for the specified GameObject. |
BSPPolygon |
CollisionDetection.checkWalls(GameObject object,
Vector3D oldLocation,
long elapsedTime)
Checks for a game object collision with the walls of the BSP tree. |
boolean |
CollisionDetection.checkObject(GameObject objectA,
java.util.List objects,
Vector3D oldLocation)
Checks if the specified object collisions with any other object in the specified list. |
boolean |
CollisionDetection.checkObject(GameObject objectA,
GameObject objectB,
Vector3D oldLocation)
Returns true if the two specified objects collide. |
Uses of GameObject in com.brackeen.javagamebook.graphics3D |
Methods in com.brackeen.javagamebook.graphics3D with parameters of type GameObject | |
boolean |
ZBufferedRenderer.draw(java.awt.Graphics2D g,
GameObject object)
|
Uses of GameObject in com.brackeen.javagamebook.path |
Subclasses of GameObject in com.brackeen.javagamebook.path | |
class |
PathBot
A PathBot is a GameObject that follows a path from a PathFinder. |
Methods in com.brackeen.javagamebook.path with parameters of type GameObject | |
java.util.Iterator |
PathFinder.find(GameObject a,
GameObject b)
Finds a path from GameObject A to GameObject B. |
void |
PathBot.update(GameObject player,
long elapsedTime)
|
void |
PathBot.notifyObjectCollision(GameObject object)
|
java.util.Iterator |
AStarSearchWithBSP.find(GameObject a,
GameObject b)
|
Uses of GameObject in com.brackeen.javagamebook.scripting |
Methods in com.brackeen.javagamebook.scripting with parameters of type GameObject | |
boolean |
ScriptManager.hasScripts(GameObject object)
Checks to see if the specified game object has any scripts (check to see if any scripted method starts with the object's name). |
void |
ScriptManager.ScriptedListener.notifyVisible(GameObject object,
boolean visible)
|
void |
ScriptManager.ScriptedListener.notifyObjectCollision(GameObject object,
GameObject otherObject)
|
void |
ScriptManager.ScriptedListener.notifyObjectTouch(GameObject object,
GameObject otherObject)
|
void |
ScriptManager.ScriptedListener.notifyObjectRelease(GameObject object,
GameObject otherObject)
|
void |
ScriptManager.ScriptedListener.notifyFloorCollision(GameObject object)
|
void |
ScriptManager.ScriptedListener.notifyCeilingCollision(GameObject object)
|
void |
ScriptManager.ScriptedListener.notifyWallCollision(GameObject object)
|
void |
GameObjectEventMulticaster.notifyVisible(GameObject object,
boolean visible)
Notifies this GameObject whether it was visible or not on the last update. |
void |
GameObjectEventMulticaster.notifyObjectCollision(GameObject object,
GameObject otherObject)
Notifies this GameObject that when it moved, it collided with the specified object. |
void |
GameObjectEventMulticaster.notifyObjectTouch(GameObject object,
GameObject otherObject)
|
void |
GameObjectEventMulticaster.notifyObjectRelease(GameObject object,
GameObject otherObject)
|
void |
GameObjectEventMulticaster.notifyFloorCollision(GameObject object)
Notifies this GameObject that when it moved, it collided with a floor. |
void |
GameObjectEventMulticaster.notifyCeilingCollision(GameObject object)
Notifies this GameObject that when it moved, it collided with a ceiling. |
void |
GameObjectEventMulticaster.notifyWallCollision(GameObject object)
Notifies this GameObject that when it moved, it collided with a wall. |
void |
GameObjectEventListener.notifyVisible(GameObject object,
boolean visible)
Notifies this GameObject whether it was visible or not on the last update. |
void |
GameObjectEventListener.notifyObjectCollision(GameObject object,
GameObject otherObject)
Notifies this GameObject that when it moved, it collided with the specified, other object. |
void |
GameObjectEventListener.notifyObjectTouch(GameObject object,
GameObject otherObject)
Notifies this GameObject that it is touching the specified object. |
void |
GameObjectEventListener.notifyObjectRelease(GameObject object,
GameObject otherObject)
Notifies this GameObject that it is no longer touching the specified object. |
void |
GameObjectEventListener.notifyFloorCollision(GameObject object)
Notifies this GameObject that when it moved, it collided with a floor. |
void |
GameObjectEventListener.notifyCeilingCollision(GameObject object)
Notifies this GameObject that when it moved, it collided with a ceiling. |
void |
GameObjectEventListener.notifyWallCollision(GameObject object)
Notifies this GameObject that when it moved, it collided with a wall. |
Uses of GameObject in com.brackeen.javagamebook.shooter3D |
Subclasses of GameObject in com.brackeen.javagamebook.shooter3D | |
class |
Bot
The Bot game object is a small static bot with a turret that turns to face the player. |
class |
JumpingGameObject
A GameObject that can jump. |
class |
Player
A Player object. |
Methods in com.brackeen.javagamebook.shooter3D with parameters of type GameObject | |
void |
Bot.update(GameObject player,
long elapsedTime)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |