Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct {
// contains filtered or unexported fields
}
Machine emulates the Space Invaders hardware.
type Option ¶
type Option func(*Machine)
Option is a functional option that modifies a field on the machine.
func WithDebugEnabled ¶
func WithDebugEnabled() Option
WithDebugEnabled enables debug mode on the machine.
func WithScaleFactor ¶
WithScaleFactor sets the video scale factor.
Click to show internal directories.
Click to hide internal directories.