|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gatech.cs2335.lemmings.physics.PhysicsObject
edu.gatech.cs2335.lemmings.engine.PrettySprite
edu.gatech.cs2335.lemmings.engine.Particle
edu.gatech.cs2335.lemmings.engine.WaterParticle
Class Particle: When a lemming blows up, he makes particles. Well, here they are. :) Description from Jose: Adds specific blood stuff Blood shouldn't bounce, rather it should hit the wall and die
Revision History:
v1.0 (Apr. 11, 2004) - Created the BloodParticle class
| Field Summary | |
static int |
PARTICLESWHENDIE
Particles to create when death should occur |
| Constructor Summary | |
WaterParticle()
Creates a new Particle instance. |
|
| Method Summary | |
protected boolean |
canKillSelf()
Should return true when the sprite is ready to kill self. |
boolean |
getCanDie()
Should return canDie |
void |
setCanDie(boolean a)
Should return canDie |
| Methods inherited from class edu.gatech.cs2335.lemmings.engine.PrettySprite |
cleanUp, getAnimation, getLevel, setAnimation, setLevel, updateSprite |
| Methods inherited from class edu.gatech.cs2335.lemmings.physics.PhysicsObject |
accelerate, getGravityUpdates, getPosition, getVelocity, isFalling, setGravityUpdates, setPosition, setPosition, setVelocity, toString, updatePosition, updatePosition, updateVelocity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int PARTICLESWHENDIE
| Constructor Detail |
public WaterParticle()
Particle instance.
| Method Detail |
public boolean getCanDie()
boolean valuepublic void setCanDie(boolean a)
a - for candie boolean valueprotected boolean canKillSelf()
canKillSelf in class Particleboolean value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||