public class StudentStrategy extends java.lang.Object implements ExploratingStrategy
Constructor and Description |
---|
StudentStrategy(Player me,
TreasureRoom room)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
explore()
The main method of the strategy, that explores the room.
|
public StudentStrategy(Player me, TreasureRoom room)
me
- the player, for calling moves.room
- the room to explore.public void explore()
ExploratingStrategy
explore
in interface ExploratingStrategy