first commit

This commit is contained in:
Jose Caban
2025-06-07 01:59:34 -04:00
commit 388ac241f0
3558 changed files with 9116289 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
package edu.gatech.cs2335.lemmings.engine;
/**
* Class SavedLemming: This thing will basically show the animation of
* the lemming going upstairs into the exit.
*
* <PRE>
* Revision History:
* v1.0 (Apr. 11, 2004) - Created the SavedLemming class
* </PRE>
*
* @author <A HREF="mailto:gtg308i@mail.gatech.edu">Vladimir Urazov</A>
* @version Version 1.0, Apr. 11, 2004
*/
public class SavedLemming extends PrettySprite {
/**
* Creates a new <code>SavedLemming</code> instance.
*/
public SavedLemming() {
super("saved_lemming");
}
/**
* Should return true when the sprite is ready to kill self.
*
* @return a <code>boolean</code> value
*/
protected boolean canKillSelf() {
if (getAnimation().getCurrentFrame() == 0) {
//The animation is through. We are done:
return true;
}
return false;
}
}