edu.gatech.cs2335.lemmings.engine
Class SavedLemming

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

public class SavedLemming
extends PrettySprite

Class SavedLemming: This thing will basically show the animation of the lemming going upstairs into the exit.

 Revision History:
     v1.0 (Apr. 11, 2004) - Created the SavedLemming class
 

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

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

SavedLemming

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