edu.gatech.cs2335.lemmings.engine
Class LemmingSplat

java.lang.Object
  extended byedu.gatech.cs2335.lemmings.physics.PhysicsObject
      extended byedu.gatech.cs2335.lemmings.engine.PrettySprite
          extended byedu.gatech.cs2335.lemmings.engine.LemmingSplat
All Implemented Interfaces:
ICleanable

public class LemmingSplat
extends PrettySprite

Class LemmingSplat: When the lemming falls too far and smashes into the ground, this blood-splattering animation will be played.

 Revision History:
     v1.0 (Apr. 12, 2004) - Created the LemmingSplat class
 

Version:
Version 1.0, Apr. 12, 2004
Author:
Vladimir Urazov

Constructor Summary
LemmingSplat()
          Creates a new LemmingSplat instance.
 
Method Summary
protected  boolean canKillSelf()
          Should return true when the sprite is ready to kill self.
 
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
 

Constructor Detail

LemmingSplat

public LemmingSplat()
Creates a new LemmingSplat instance.

Method Detail

canKillSelf

protected boolean canKillSelf()
Should return true when the sprite is ready to kill self.

Specified by:
canKillSelf in class PrettySprite
Returns:
a boolean value