map
Class Base
java.lang.Object
herzog3d.HZObject
map.Base
public class Base
- extends HZObject
- Author:
- Shannon Smith
| Methods inherited from class herzog3d.HZObject |
getColRadius, getDir, getPos, getRadius, intersects, isActive, move, move, setActive, setModel, setPos, setPos, setSkin, setState, testCollision |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base
public Base(Tile centerTile,
Base.BaseType type,
ResourceManager res)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
getCenter
public ReadableVector3f getCenter()
getType
public Base.BaseType getType()
getLife
public int getLife()
dammage
public void dammage(int dammage)
isAlive
public boolean isAlive()
isInTile
public boolean isInTile(int x,
int y)
getSize
public int getSize()
setOwner
public void setOwner(Player owner)
draw
public void draw(GameMap map)
testCollision
public Vector3f testCollision(Vector3f v1,
Vector3f v2)
canInfiltrate
public boolean canInfiltrate(Player player)