Method | Description | |
---|---|---|
creatureColor ( int colorId ) : Color | ||
creatureColorName ( int colorId ) : string | ||
genderColor ( Gender g ) : Color | ||
genderSymbol ( Gender g ) : string | ||
getARKml ( string text, int r, int g, int b ) : string | ||
getARKmlFromPercent ( string text, int percent, double light ) : string | ||
getColorFromPercent ( int percent, double light ) : Color |
This method returns a shade from red over yellow to green, corresponding to the value p (0-100). If light is given, the brightness is adjusted (-1 to 1)
|
|
levelPercentile ( int l ) : string | ||
nextGender ( Gender g ) : Gender | ||
nextStatus ( CreatureStatus s ) : CreatureStatus | ||
precision ( int s ) : int | ||
statName ( int s, bool abr = false ) : string | ||
statusSymbol ( CreatureStatus s ) : string |
Method | Description | |
---|---|---|
getRGBFromPercent ( int &r, int &g, int &b, int percent, double light ) : void |
public static creatureColor ( int colorId ) : Color | ||
colorId | int | |
return | Color |
public static creatureColorName ( int colorId ) : string | ||
colorId | int | |
return | string |
public static genderColor ( Gender g ) : Color | ||
g | Gender | |
return | Color |
public static genderSymbol ( Gender g ) : string | ||
g | Gender | |
return | string |
public static getARKml ( string text, int r, int g, int b ) : string | ||
text | string | |
r | int | |
g | int | |
b | int | |
return | string |
public static getARKmlFromPercent ( string text, int percent, double light ) : string | ||
text | string | |
percent | int | |
light | double | |
return | string |
public static getColorFromPercent ( int percent, double light ) : Color | ||
percent | int | percent that determines the shade between red and green (0 to 100) |
light | double | double from -1 to 1. Values greater zero make the color brighter, lower than zero make the color darker. |
return | Color |
public static levelPercentile ( int l ) : string | ||
l | int | |
return | string |
public static nextGender ( Gender g ) : Gender | ||
g | Gender | |
return | Gender |
public static nextStatus ( CreatureStatus s ) : CreatureStatus | ||
s | CreatureStatus | |
return | CreatureStatus |
public static statName ( int s, bool abr = false ) : string | ||
s | int | |
abr | bool | |
return | string |
public static statusSymbol ( CreatureStatus s ) : string | ||
s | CreatureStatus | |
return | string |