Enum SpriteFlags
- Namespace
- GB
- Assembly
- GBSharp.Framework.dll
The attribute bits on a hardware sprite.
[Flags]
public enum SpriteFlags : byte
Fields
Bank = 8Game Boy Color: take tile data from VRAM bank 1.
BehindBackground = 128Draw behind background colours 1-3.
FlipX = 32Mirror horizontally.
FlipY = 64Mirror vertically.
None = 0Palette = 16Original Game Boy: use sprite palette 1 rather than 0.
Remarks
These are the raw OAM flags. SpriteRef exposes each one as a named property; this enum is for setting several at once.