Sprite
Inherits Struct < Value < Object
Constructors
new(y : UInt8, x : UInt8, tile_num : UInt8, attributes : UInt8)
Sourcenew(oam : Bytes, oam_idx : UInt8)
SourceInstance methods
bank_num
Sourcebytes(line : Int, sprite_height = 8) : Tuple(UInt16, UInt16)
behavior is undefined if sprite is not on given line
cgb_palette_number
Sourcedmg_palette_number
Sourceoam_idx
Sourceon_line(line : Int, sprite_height = 8) : Bool
Sourcepriority
Sourcevisible?
Sourcex_flip?
Sourcey_flip?
Source