source.ucregents.playground.samplegame
Class Bot

java.lang.Object
  extended by source.ucregents.playground.physics.BaseEntity
      extended by source.ucregents.playground.physics.MovingEntity
          extended by source.ucregents.playground.samplegame.Bot
All Implemented Interfaces:
java.lang.Cloneable, IDestroyable

public class Bot
extends MovingEntity
implements IDestroyable


Constructor Summary
Bot()
           
 
Method Summary
protected  java.lang.String DefaultImageLocation()
          Provides the location of the default image
 void Destroy()
           
 int getCurrentHP()
           
 int getEnergy()
           
 int getMaxHP()
           
 int getShieldEnergy()
           
 boolean isDestroyed()
           
 void setCurrentHP(int value)
           
 void setEnergy(int value)
           
 void setMaxHP(int value)
           
 void setShieldEnergy(int value)
           
 
Methods inherited from class source.ucregents.playground.physics.MovingEntity
collide, collide, Deserialize, Draw, getAngularVelocity, getCurrentTickVelocity, getCurrentVelocity, getMass, increaseVelocity, increaseXVelocity, increaseYVelocity, isStationary, isUnstoppableForce, moveCurrentVelocity, moveVector, Serialize, setAngularVelocity, setCurrentTickVelocity, setCurrentVelocity, setMass, setStationary, setUnstoppableForce
 
Methods inherited from class source.ucregents.playground.physics.BaseEntity
calculateAxes, clone, getActualFrameDimensions, getAxes, getAxesClone, getAxis, getBounciness, getCenterPoint, getDrawType, getEvents, getFrameColor, getFrictionConstant, getGradientColor, getImageOffset, getName, getOrientation, getResizingObject, getRoundedShapeMass, getScale, getShape, getShapeColor, getShapeFrame, getShapeMass, getSideVectors, getULPoint, getUserEvents, getVertexCount, getVerticesCoordinates, isCircle, isCollidable, isOverlapping, isPolygon, isSelected, isVisible, OnCenterScale, OnCollisionWith, OnLocationChange, OnOrientationChange, OnULScale, RegisterEvent, RegisterEvent, RegisterEvents, RemoveEvent, RemoveEvents, resetFrameColor, Scale, ScaleAroundCenter, setBounciness, setCenterPoint, setCenterPoint, setCollidable, setDrawType, setFrameColor, setFrictionConstant, setGradientColor, setImageOffset, setName, setOrientation, setScale, setSelected, setShapeColor, setULPoint, setULPoint, setVisible, toString, toXMLElement
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bot

public Bot()
Method Detail

DefaultImageLocation

protected java.lang.String DefaultImageLocation()
Description copied from class: BaseEntity
Provides the location of the default image

Overrides:
DefaultImageLocation in class MovingEntity
Returns:
Returns the location of the image

Destroy

public void Destroy()
Specified by:
Destroy in interface IDestroyable

getCurrentHP

public final int getCurrentHP()
Specified by:
getCurrentHP in interface IDestroyable

getEnergy

public final int getEnergy()

getMaxHP

public final int getMaxHP()
Specified by:
getMaxHP in interface IDestroyable

getShieldEnergy

public final int getShieldEnergy()

isDestroyed

public final boolean isDestroyed()
Specified by:
isDestroyed in interface IDestroyable

setCurrentHP

public final void setCurrentHP(int value)
Specified by:
setCurrentHP in interface IDestroyable

setEnergy

public final void setEnergy(int value)

setMaxHP

public final void setMaxHP(int value)
Specified by:
setMaxHP in interface IDestroyable

setShieldEnergy

public final void setShieldEnergy(int value)