edu.gatech.cs2335.lemmings.engine
Class LemmingDrown

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

public class LemmingDrown
extends PrettySprite

Class LemmingDrown: This pretty sprite is created when the lemming drowns.

 Revision History:
     v1.0 (Apr. 14, 2004) - Created the LemmingDrown class
 

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

Constructor Summary
LemmingDrown()
          Creates a new LemmingDrown 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

LemmingDrown

public LemmingDrown()
Creates a new LemmingDrown 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