infinitewisdom.model.grid
Class GlobalCell

java.lang.Object
  extended by infinitewisdom.model.grid.GlobalCell

public class GlobalCell
extends java.lang.Object

Quantized unit positions for pathfinding. No Playerspecific information is stored here. For that purpose use PlayerCell.


Field Summary
 Vec2i pos
           
 java.util.List<UnitIF> units
           
 
Constructor Summary
GlobalCell(int xi, int yi)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

units

public java.util.List<UnitIF> units

pos

public Vec2i pos
Constructor Detail

GlobalCell

public GlobalCell(int xi,
                  int yi)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object