Modifier and Type | Field and Description |
---|---|
protected int |
ID |
protected static int |
numComp |
int |
x |
int |
y |
Constructor and Description |
---|
Piece(int _x,
int _y) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Piece t) |
int |
getID() |
abstract boolean |
getInput(int idPed) |
abstract boolean |
getOutput() |
void |
movePiece(int _x,
int _y) |
abstract void |
refreshValue() |
abstract void |
setInput(int idIn,
boolean value) |
java.lang.String |
toString() |
public int getID()
public void movePiece(int _x, int _y)
public boolean equals(Piece t)
public java.lang.String toString()
toString
in class java.lang.Object
public abstract boolean getInput(int idPed)
public abstract void refreshValue()
public abstract boolean getOutput()
public abstract void setInput(int idIn, boolean value)