edu.udo.cs.ie.cowbots.util
Class GridCell<T>

Package class diagram package GridCell
java.lang.Object
  extended by edu.udo.cs.ie.cowbots.util.GridCell<T>
Type Parameters:
T -

public class GridCell<T>
extends java.lang.Object

basic cell for a massim scenario, mainly used for the contest version of the mas.


Field Summary
 T cell_content
           
 T cell_flag
           
 T cell_type
           
 boolean has_mover
           
 boolean isAgent
           
 boolean isClosed
           
 boolean isCow
           
 boolean isFence
           
 boolean isObstacle
           
 boolean isSwitch
           
 boolean isUnexplored
           
 
Constructor Summary
GridCell()
           
 
Method Summary
 T get(int i)
           
 T set(int i, T t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cell_content

public T cell_content

cell_type

public T cell_type

cell_flag

public T cell_flag

has_mover

public boolean has_mover

isObstacle

public boolean isObstacle

isSwitch

public boolean isSwitch

isFence

public boolean isFence

isAgent

public boolean isAgent

isCow

public boolean isCow

isClosed

public boolean isClosed

isUnexplored

public boolean isUnexplored
Constructor Detail

GridCell

public GridCell()
Method Detail

get

public T get(int i)

set

public T set(int i,
             T t)