Kind: global namespace
Properties
Name | Type |
---|---|
getDarker | function |
getBuildingColor | function |
getHumanColor | function |
getColor | function |
- EntityColor :
object
- .getDarker(color) ⇒
Array.<float>
- .getBuildingColor(fieryness) ⇒
Array.<float>
- .getHumanColor(type, hp) ⇒
Array.<float>
- .getColor(entity) ⇒
Array.<float>
- .getDarker(color) ⇒
Darken the color
Kind: static method of EntityColor
Returns: Array.<float>
- - dark color
Param | Type | Description |
---|---|---|
color | Array.<float> |
color |
Get building color
Kind: static method of EntityColor
Returns: Array.<float>
- color
Param | Type | Description |
---|---|---|
fieryness | integer |
fieryness value of building (0-8) |
Get Human color
Kind: static method of EntityColor
Returns: Array.<float>
- - color
Param | Type | Description |
---|---|---|
type | string |
human's EntityName |
hp | integer |
HP value of human |
Get color of Entity
Kind: static method of EntityColor
Returns: Array.<float>
- - color
Param | Type | Description |
---|---|---|
entity | Object |
Entity object |