org.argosfields.battlefield
Class MovingState

java.lang.Object
  extended byorg.argosfields.battlefield.State
      extended byorg.argosfields.battlefield.MovingState
All Implemented Interfaces:
EventListener, org.eclipse.swt.events.KeyListener, org.eclipse.swt.events.MouseListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener

public class MovingState
extends State

MovingState.java

Version:
$Revision: 1.8 $ $Date: 2003/12/01 07:38:05 $
Author:
Xavier Cho

Constructor Summary
MovingState(Unit unit, int[] path, Context context)
           
 
Method Summary
 String getName()
           
 void paintControl(org.eclipse.swt.events.PaintEvent event)
           
 
Methods inherited from class org.argosfields.battlefield.State
getContext, getTile, keyPressed, keyReleased, mouseDoubleClick, mouseDown, mouseUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovingState

public MovingState(Unit unit,
                   int[] path,
                   Context context)
Parameters:
context -
Method Detail

getName

public String getName()
Specified by:
getName in class State
See Also:
org.argosfields.widget.state.State#getName()

paintControl

public void paintControl(org.eclipse.swt.events.PaintEvent event)
Specified by:
paintControl in interface org.eclipse.swt.events.PaintListener
Overrides:
paintControl in class State
See Also:
PaintListener.paintControl(org.eclipse.swt.events.PaintEvent)


Copyright © Gnome Korea. All Rights Reserved.