public abstract class Action
extends java.lang.Object
Constructor and Description |
---|
Action()
Default constructor, action do nothing
|
Action(ActionType type)
Action constructor
|
Modifier and Type | Method and Description |
---|---|
ActionType |
getType()
Returns action type
|
abstract boolean |
start(Targetable user,
Targetable target)
Starts action
|
public Action()
public Action(ActionType type)
type
- Type of actionpublic abstract boolean start(Targetable user, Targetable target)
user
- Action usertarget
- User targetpublic ActionType getType()