gecco.client.animation
Class Explosion
java.lang.Object
|
+--gecco.client.Piece
|
+--gecco.client.animation.AnimatedPiece
|
+--gecco.client.animation.Explosion
- public class Explosion
- extends AnimatedPiece
An explosion is an animated piece that has a finite animation of an
explosion. The class depends on some gif images in the icons catalog.
- Author:
- Andreas Enblom
Methods inherited from class gecco.client.Piece |
abortAllExecutingActions, abortQueuedAction, addAction, addMessage, equals, executeNextAction, getActions, getAllQueuedActions, getExecutingAction, getHandle, getMessages, getName, getNumberOfMessages, getPosition, getProperties, getProperty, getType, hashCode, isSelected, paint, queue, removeAction, removeAllActions, removeProperty, setName, setPosition, setProperty, setProperty, setSelected, setType, toString |
Explosion
public Explosion(int handle,
Position position,
String name,
String type,
Animator animator)
- Parameters:
handle
- The piece handle.position
- The piece postion.name
- The piece name.type
- The piece type. Note that this does not affect the
symbols used.animator
- The animator that animates this piece.