cz.cuni.amis.pogamut.defcon.communication.worldview.modules.grid.basic
Class SymmetricGridCell
java.lang.Object
cz.cuni.amis.pogamut.defcon.communication.worldview.modules.grid.basic.SymmetricGridCell
- All Implemented Interfaces:
- IGridCell
public class SymmetricGridCell
- extends Object
- implements IGridCell
A single square cell for the experimental grid.
- Author:
- Radek 'Black_Hand' Pibil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cellId
protected SymmetricGridCellId cellId
gameInfo
protected static GameInfo gameInfo
SymmetricGridCell
public SymmetricGridCell(SymmetricGridCellId cellId)
SymmetricGridCell
public SymmetricGridCell(float x,
float y)
setGameInfo
public static void setGameInfo(GameInfo gameInfo)
hasFlag
public boolean hasFlag(BasicFlag flag)
- Specified by:
hasFlag
in interface IGridCell
hasFlag
public static boolean hasFlag(Location location,
BasicFlag flag)
hasFlag
public static boolean hasFlag(float x,
float y,
BasicFlag flag)
getCellId
public IGridCellId getCellId()
- Specified by:
getCellId
in interface IGridCell
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.