|
Drools examples 6.1.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.games.wumpus.Thing
org.drools.games.wumpus.Hero
public class Hero
Constructor Summary | |
---|---|
Hero(int row,
int col)
|
Method Summary | |
---|---|
int |
getArrows()
|
Direction |
getDirection()
|
int |
getScore()
|
boolean |
isGold()
|
void |
setArrows(int arrows)
|
void |
setDirection(Direction direction)
|
void |
setGold(boolean gold)
|
void |
setScore(int score)
|
String |
toString()
|
Methods inherited from class org.drools.games.wumpus.Thing |
---|
getCol, getRow, setCol, setRow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Hero(int row, int col)
Method Detail |
---|
public int getArrows()
public void setArrows(int arrows)
public int getScore()
public void setScore(int score)
public Direction getDirection()
public void setDirection(Direction direction)
public boolean isGold()
public void setGold(boolean gold)
public String toString()
toString
in class Object
|
Drools examples 6.1.0-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |