public class Move
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
element
name of the location to where the element was moved
|
java.lang.String |
from
name of the element that was moved
|
java.lang.String |
to
name of the location from where the element was moved
|
| Constructor and Description |
|---|
Move(java.lang.String from,
java.lang.String to,
java.lang.String element,
GameSpecification specs) |
public final java.lang.String from
public final java.lang.String to
public final java.lang.String element
public Move(java.lang.String from,
java.lang.String to,
java.lang.String element,
GameSpecification specs)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object