swarm.space
Interface Discrete2dS
- All Known Subinterfaces:
- Ca2d, Ca2dC, Ca2dS, ConwayLife2d, ConwayLife2dC, ConwayLife2dS, DblBuffer2d, DblBuffer2dC, DblBuffer2dS, Diffuse2d, Diffuse2dC, Diffuse2dS, Grid2d, Grid2dC, Grid2dS
- All Known Implementing Classes:
- DblBuffer2dCImpl, DblBuffer2dImpl, Discrete2dImpl, Grid2dCImpl, Grid2dImpl, Discrete2dCImpl
- public interface Discrete2dS
- extends SwarmObjectS, GridDataS
Root class of all 2d discrete spaces..
A Discrete2d is basically a 2d array of ids. Subclasses add particular space semantics onto this. Currently Discrete2d grids are accessed by integer pairs of X and Y coordinates.
Method Summary |
java.lang.Object |
setObjectFlag(boolean objectFlag)
When objectFlag is true, indicates that this lattice is intended only for objects. |
setObjectFlag
public java.lang.Object setObjectFlag(boolean objectFlag)
- When objectFlag is true, indicates that this lattice is intended only for objects.