|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.puzzle.Move
public class Move
A move consisting of a start and an end point.
Constructor Summary | |
---|---|
Move(Position start,
Position end)
Create a position. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Test if two positions are equal. |
Position |
getEnd()
Get the target. |
Position |
getStart()
Get the start. |
int |
hashCode()
Calculate the hash code. |
boolean |
isJumpMove()
Test if it is a jump move. |
String |
toString()
Get the string representation. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Move(Position start, Position end)
Method Detail |
---|
public Position getStart()
public Position getEnd()
public boolean isJumpMove()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.