|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmassim.gridsimulations.AbstractGridSimulationCell
massim.goldsimulations.GridSimulationCell
public class GridSimulationCell
This class describes a single GridCell.
Field Summary | |
---|---|
boolean |
depot
|
boolean |
gold
|
boolean |
mark
|
java.lang.String |
markText
|
Fields inherited from class massim.gridsimulations.AbstractGridSimulationCell |
---|
agent, agentTeam, object, obstacle |
Constructor Summary | |
---|---|
GridSimulationCell()
|
Method Summary | |
---|---|
boolean |
freeCell()
This method checks, if a cell is free for pushing |
boolean |
noObject()
This method checks whether the cell contains an object or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean mark
public boolean gold
public boolean depot
public java.lang.String markText
Constructor Detail |
---|
public GridSimulationCell()
Method Detail |
---|
public boolean noObject()
noObject
in class AbstractGridSimulationCell
public boolean freeCell()
freeCell
in class AbstractGridSimulationCell
x
- Position x on the gridy
- Position y on the grid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |