swarm.space
Class Discrete2dCImpl

java.lang.Object
  |
  +--swarm.BaseImpl
        |
        +--swarm.PhaseCImpl
              |
              +--swarm.space.Discrete2dCImpl

public class Discrete2dCImpl
extends PhaseCImpl
implements SwarmObjectC, SwarmObjectS, GridDataC, GridDataS, Discrete2dS, Discrete2dC

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.


Fields inherited from class swarm.PhaseCImpl
nextPhase
 
Constructor Summary
Discrete2dCImpl()
           
Discrete2dCImpl(Discrete2d nextPhase)
           
 
Methods implemented by this class for interface swarm.space.Discrete2dS
setObjectFlag
 
Methods implemented by this class for interface swarm.space.Discrete2dC
create$setSizeX$Y, makeOffsets, setSizeX$Y
 
Methods implemented by this class for interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods implemented by this class for interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 
Methods inherited from class swarm.PhaseCImpl
_copy_creating_phase_to_using_phase
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Discrete2dCImpl

public Discrete2dCImpl(Discrete2d nextPhase)

Discrete2dCImpl

public Discrete2dCImpl()