Table of Contents

Struct SpritePaletteRef

Namespace
GB
Assembly
GBSharp.Framework.dll

One Game Boy Color sprite palette, by index.

public struct SpritePaletteRef
Inherited Members

Methods

SetColor(byte, ushort)

Sets one of the palette's four colours. Entry 0 is never drawn.

[Native("set_sprite_palette_entry")]
public void SetColor(byte entry, ushort color)

Parameters

entry byte
color ushort