org.drools.examples.conway
Interface CellGrid

All Known Implementing Classes:
CellGridImpl

public interface CellGrid


Method Summary
 void dispose()
           
 Cell getCellAt(int row, int column)
           
 int getNumberOfColumns()
           
 int getNumberOfRows()
           
 void killAll()
           
 boolean nextGeneration()
           
 void setPattern(ConwayPattern pattern)
           
 String toString()
           
 void updateCell(Cell cell, CellState state)
           
 

Method Detail

getCellAt

Cell getCellAt(int row,
               int column)

getNumberOfRows

int getNumberOfRows()

getNumberOfColumns

int getNumberOfColumns()

nextGeneration

boolean nextGeneration()

killAll

void killAll()

setPattern

void setPattern(ConwayPattern pattern)

dispose

void dispose()

updateCell

void updateCell(Cell cell,
                CellState state)

toString

String toString()
Overrides:
toString in class Object


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.