public class CombatEvent
extends java.util.EventObject
CombatListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
AcceptingInit
Set when initiative rolls are being accepted.
|
static int |
CombatEnded
Combat ended event type.
|
static int |
CombatStarted
Combat started event type.
|
static int |
InitChanged
Init changed event type.
|
static int |
InitSet
Set when all initiatives are set and no more initiative rolls will be
accepted.
|
static int |
RoundChanged
Round changed event type.
|
Constructor and Description |
---|
CombatEvent(java.lang.Object source,
int type,
int round,
int init) |
Modifier and Type | Method and Description |
---|---|
int |
getInitiative()
Retrieve the current initiative.
|
int |
getRound()
Retrieve the current round.
|
int |
getType()
Retrieve the type of the event.
|
public static final int CombatStarted
public static final int CombatEnded
public static final int RoundChanged
public static final int InitChanged
public static final int AcceptingInit
public static final int InitSet