Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func NewApp ¶
NewApp instantiates the App in which the chip8 is going to run. It contains a chip8, a configuration, a beepFile and a beepStream to manage the sound, a pixelgl window which is used for all the peripherals, and the peripherals: a monitor(m) which draws the FrameBuffer of the chip 8, a keypad which manages all the inputs of the chip8, and a keyboard which manages the inputs of the app (in this case we only use it to quit when we press Esc., a key which is not used by chip8 ROM files). NewApp also load the fonts file given in the configuration.
Click to show internal directories.
Click to hide internal directories.