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

Fields inherited from class gecco.client.Piece
MAX_MESSAGES
 
Constructor Summary
Explosion(int handle, Position position, String name, String type, Animator animator)
           
 
Methods inherited from class gecco.client.animation.AnimatedPiece
getSymbol, startAnimation, stopAnimation
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.