org.deken.game.sprites
Class BaseActor
java.lang.Object
org.deken.game.sprites.Sprite
org.deken.game.sprites.Actor
org.deken.game.sprites.BaseActor
- All Implemented Interfaces:
- Updateable
public class BaseActor
- extends Actor
Copyright: Copyright (c) 2005
- Version:
- 1.0
- Author:
- Gary Deken
Methods inherited from class org.deken.game.sprites.Actor |
copyBase, draw, getBounds, getCurrentMoveMotion, getDirection, getMovement, getMoveMotions, getSpeed, getStillMotion, setCurrentMoveMotion, setDirection, setMotion, setMovement, setMoveMotions, setStillAnimations, setStillMotion, update, updateCurrentMotion, updateLocationX, updateLocationY |
Methods inherited from class org.deken.game.sprites.Sprite |
getDepth, getHeight, getLocation, getName, getSize, getWidth, getXLocation, getYLocation, removeFromMap, setBoundingBox, setBoundingBox, setCollisionMap, setLocation, setName, setSize, toString, updateLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BaseActor
public BaseActor(SpriteSize size)
BaseActor
public BaseActor(Motion motion,
Movement movement,
SpriteSize size)
- BaseActor
- Parameters:
motion
- Motionmovement
- Movementsize
- SpriteSize
BaseActor
public BaseActor(Motion motion,
Movement movement,
SpriteSize size,
Animation stillAnimation)
- BaseActor
- Parameters:
motion
- Motionmovement
- Movementsize
- SpriteSizestillAnimation
- Animation
copy
public BaseActor copy()
- Specified by:
copy
in class Sprite
- Returns:
- BaseActor
spriteCollison
protected void spriteCollison(Sprite collideSprite)
- Description copied from class:
Sprite
- Handle the collision with another sprite.
- Specified by:
spriteCollison
in class Sprite