Enum Constant | Description |
---|---|
NONE |
|
POINT |
|
POINT_OR_NONE |
|
POINT_OR_UNIT |
|
UNIT |
Modifier and Type | Method | Description |
---|---|---|
static Target |
from(SC2APIProtocol.Data.AbilityData.Target sc2ApiTarget) |
|
static Target |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Target[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Target NONE
public static final Target POINT
public static final Target UNIT
public static final Target POINT_OR_UNIT
public static final Target POINT_OR_NONE
public static Target[] values()
for (Target c : Target.values()) System.out.println(c);
public static Target valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Target from(SC2APIProtocol.Data.AbilityData.Target sc2ApiTarget)
Copyright © 2017–2018 Ocraft Project. All rights reserved.