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

Field Summary
(package private) static Image[] explosionFrames
          The frames of the explosion.
 
Fields inherited from class gecco.client.animation.AnimatedPiece
animationThread, animator, currentFrame, delayBetweenFrames, frames, repeat
 
Fields inherited from class gecco.client.Piece
actionQueue, actions, currentAction, handle, MAX_MESSAGES, messages, name, position, properties, selected, type
 
Constructor Summary
Explosion(int handle, Position position, String name, String type, Animator animator)
           
 
Method Summary
(package private) static void ()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

explosionFrames

static Image[] explosionFrames
The frames of the explosion.
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 aniomator that animates this piece.
Method Detail

static void ()