public abstract class Monster extends Character
Constructor and Description |
---|
Monster(Game game,
int row,
int col)
Parameterized Constructor for class Monster.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
attackAction(Player p)
Abstract method attackAction.
|
public Monster(Game game, int row, int col)
game
- Game objectrow
- Row valuecol
- Col valuepublic abstract void attackAction(Player p)
p
- Player object