Documentation ¶
Index ¶
Constants ¶
View Source
const ( SidePixel = 16 WidthScreen = SidePixel * 64 HeightScreen = SidePixel * 32 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrameBuffer ¶
type FrameBuffer [64 * 32]byte
func (*FrameBuffer) CheckOverlap ¶
func (f *FrameBuffer) CheckOverlap(x, y int) bool
CheckOverlap checks if the given x, y are outside the bounds of the array
func (*FrameBuffer) Get ¶
func (f *FrameBuffer) Get(x, y int) *byte
Get returns the cell of the FrameBuffer corresponded to the (x,y) coordinate of the 64x32 display
Click to show internal directories.
Click to hide internal directories.