Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
nes.cr
main
Top Level Namespace
Byte
Cpu
CpuBus
CpuRegister
Emu
Interrupts
Palette
PaletteRam
Ppu
PpuBus
Ram
Renderer
RenderingData
Rom
Sprite
SpriteWithAttribute
Tile
Word
Built with Crystal 1.9.2
2023-10-07 16:29:55 UTC
class
Tile
Tile
Reference
Object
Defined in:
nes/types.cr
Constructors
.new
(sprite : Array(Array(UInt8)), palette_id : UInt8)
Instance Method Summary
#palette_id
: Byte
#sprite
: Sprite
Constructor Detail
def self.
new
(sprite : Array(Array(UInt8)), palette_id : UInt8)
#
[
View source
]
Instance Method Detail
def
palette_id
:
Byte
#
[
View source
]
def
sprite
:
Sprite
#
[
View source
]