edu.gatech.cs2335.lemmings.graphics
Class Direction

java.lang.Object
  extended byjavax.print.attribute.EnumSyntax
      extended byedu.gatech.cs2335.lemmings.graphics.Direction
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Direction
extends javax.print.attribute.EnumSyntax

Class Direction: an enumeration for the directions a sprite could be facing.

 Revision History:
     v1.0 (Mar. 12, 2004) - Created the Direction class
 

Version:
Version 1.0, Mar. 12, 2004
Author:
Vladimir Urazov
See Also:
Serialized Form

Field Summary
static Direction LEFT
          Represents the right-to-left motion direction.
static Direction NO_DIRECTION
          Represents the direction of heading nowhere.
static Direction RIGHT
          Represents the left-to-right motion direction.
 
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getEnumValueTable, getOffset, getStringTable, getValue, hashCode, readResolve, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_DIRECTION

public static final Direction NO_DIRECTION
Represents the direction of heading nowhere. Neither left nor right. This one will be used by the immobile lemmings, like the blocker.


LEFT

public static final Direction LEFT
Represents the right-to-left motion direction.


RIGHT

public static final Direction RIGHT
Represents the left-to-right motion direction.