Constructor
Variables
Methods
set_color (index:PaletteIndex, color:Int):Void
Set a specific palette index to the given color
Parameters:
index | |
---|---|
null | color |
set_palette (palette:Array<Int>):Void
Sets the palette using an array of four colors (Ints), colors should be ordered from dark to light
Parameters:
null | palette |
---|