Drools examples 6.0.3-SNAPSHOT

org.drools.games.wumpus
Class Arrow

java.lang.Object
  extended by org.drools.games.wumpus.Arrow

public class Arrow
extends Object


Constructor Summary
Arrow(int row, int col, Direction direction)
           
 
Method Summary
 int getCol()
           
 Direction getDirection()
           
 int getRow()
           
 void setCol(int col)
           
 void setDirection(Direction direction)
           
 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

Arrow

public Arrow(int row,
             int col,
             Direction direction)
Method Detail

getRow

public int getRow()

setRow

public void setRow(int row)

getCol

public int getCol()

setCol

public void setCol(int col)

getDirection

public Direction getDirection()

setDirection

public void setDirection(Direction direction)

toString

public String toString()
Overrides:
toString in class Object

Drools examples 6.0.3-SNAPSHOT

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