Fox
Represents a fox.
| Constructor Summary | |
Fox(Model model,
int row,
int column)
Constructs a Fox in the given model, at the given position in the field. |
|
| Method Summary | |
(package private) int |
decideMove()
Controls the movement of the fox. |
| Constructor Detail |
public Fox(Model model,
int row,
int column)
model - the model that controls this fox.row - the row of the field containing this fox.column - the column of the field containing this fox.| Method Detail |
int decideMove()