Package | Description |
---|---|
bwapi |
Modifier and Type | Method and Description |
---|---|
static Flag |
Flag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flag |
Flag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flag[] |
Flag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Flag[] |
Flag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Game.enableFlag(Flag flag)
Enables the state of a given flag.
|
void |
Game.enableFlag(Flag flag)
Enables the state of a given flag.
|
boolean |
Game.isFlagEnabled(Flag flag)
Checks if the state of the given flag is enabled or not.
|
boolean |
Game.isFlagEnabled(Flag flag)
Checks if the state of the given flag is enabled or not.
|
Copyright © 2022. All rights reserved.