public enum Flag extends Enum<Flag>
Enum Constant and Description |
---|
CompleteMapInformation
Enable to get information about all units on the map, not just the visible units.
|
UserInput
Enable to get information from the user (what units are selected, chat messages the user enters, etc)
|
Modifier and Type | Method and Description |
---|---|
static Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flag CompleteMapInformation
public static final Flag UserInput
public static Flag[] values()
for (Flag c : Flag.values()) System.out.println(c);
public static Flag 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 © 2022. All rights reserved.