|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.cs.coms4701.agent.environments.simple.SimpleEnvironmentObject
edu.columbia.cs.coms4701.agent.environments.grid.SimpleGridObject
edu.columbia.cs.coms4701.agent.environments.pente.Stone
public class Stone
A playing stone.
Nested Class Summary | |
---|---|
static class |
Stone.StoneColor
|
Field Summary |
---|
Fields inherited from class edu.columbia.cs.coms4701.agent.environments.simple.SimpleEnvironmentObject |
---|
changeSupport |
Constructor Summary | |
---|---|
Stone(int owner)
Constructs a new Stone, with the designated owner. |
Method Summary | |
---|---|
Stone.StoneColor |
getColor()
Returns the color of this stone. |
int |
getOwner()
Returns an int indicating the owner of this stone. |
java.lang.String |
toString()
|
Methods inherited from class edu.columbia.cs.coms4701.agent.environments.grid.SimpleGridObject |
---|
getLocation, setLocation |
Methods inherited from class edu.columbia.cs.coms4701.agent.environments.simple.SimpleEnvironmentObject |
---|
addPropertyChangeListener, isAlive, removePropertyChangeListener, setAlive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.columbia.cs.coms4701.agent.environments.grid.GridObject |
---|
getLocation, setLocation |
Methods inherited from interface edu.columbia.cs.coms4701.agent.EnvironmentObject |
---|
addPropertyChangeListener, isAlive, removePropertyChangeListener, setAlive |
Constructor Detail |
---|
public Stone(int owner)
owner
- Method Detail |
---|
public java.lang.String toString()
toString
in class SimpleGridObject
public int getOwner()
public Stone.StoneColor getColor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |