public static enum LogEventMark.Type extends Enum<LogEventMark.Type>
LogEventMark.| Enum Constant and Description |
|---|
END_EVENT
End mark of event with variable duration, shoudn't be created directly,
but through
LogEventMark.getEndMark()
Example: bot picked health pack, end event "bot is low on health" |
FIXED_DURATION
Event that lasts for certain specified duration.
|
SINGLE_EVENT
Single time event.
|
START_EVENT
Used as start mark of event that has variable duration.
|
| Modifier and Type | Method and Description |
|---|---|
static LogEventMark.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogEventMark.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogEventMark.Type SINGLE_EVENT
public static final LogEventMark.Type FIXED_DURATION
public static final LogEventMark.Type START_EVENT
public static final LogEventMark.Type END_EVENT
LogEventMark.getEndMark()
Example: bot picked health pack, end event "bot is low on health"public static LogEventMark.Type[] values()
for (LogEventMark.Type c : LogEventMark.Type.values()) System.out.println(c);
public static LogEventMark.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.