org.drools.examples.wumpus
Class Wumpus

java.lang.Object
  extended by org.drools.examples.wumpus.Wumpus

public class Wumpus
extends Object


Constructor Summary
Wumpus(int row, int col)
           
 
Method Summary
 int getCol()
           
 int getRow()
           
 boolean isAlive()
           
 void setAlive(boolean alive)
           
 void setCol(int col)
           
 void setRow(int row)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Wumpus

public Wumpus(int row,
              int col)
Method Detail

getRow

public int getRow()

setRow

public void setRow(int row)

getCol

public int getCol()

setCol

public void setCol(int col)

isAlive

public boolean isAlive()

setAlive

public void setAlive(boolean alive)

toString

public String toString()
Overrides:
toString in class Object


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