Sc2ApiSerializable<SC2APIProtocol.Debug.Color>, java.io.Serializablepublic final class Color extends java.lang.Object implements Sc2ApiSerializable<SC2APIProtocol.Debug.Color>
| Modifier and Type | Field | Description |
|---|---|---|
static Color |
BLACK |
|
static Color |
BLUE |
|
static Color |
GRAY |
|
static Color |
GREEN |
|
static Color |
PURPLE |
|
static Color |
RED |
|
static Color |
TEAL |
|
static Color |
WHITE |
|
static Color |
YELLOW |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
int |
getB() |
|
int |
getG() |
|
int |
getR() |
|
int |
hashCode() |
|
static Color |
of(int r,
int g,
int b) |
|
SC2APIProtocol.Debug.Color |
toSc2Api() |
|
java.lang.String |
toString() |
public static final Color WHITE
public static final Color RED
public static final Color GREEN
public static final Color YELLOW
public static final Color BLUE
public static final Color TEAL
public static final Color PURPLE
public static final Color BLACK
public static final Color GRAY
public static Color of(int r, int g, int b)
public SC2APIProtocol.Debug.Color toSc2Api()
toSc2Api in interface Sc2ApiSerializable<SC2APIProtocol.Debug.Color>public int getR()
public int getG()
public int getB()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2017–2018 Ocraft Project. All rights reserved.