Documentation ¶
Index ¶
- Constants
- func CreateGenericThumbnail(text string) image.Image
- func DrawCenteredText(dst draw.Image, text string, dx, dy int, c color.Color)
- func DrawCharacter(dst draw.Image, x, y int, ch byte, c color.Color)
- func DrawText(dst draw.Image, x, y int, text string, c color.Color)
- func GetPaths() []string
- func GetRomFilename() string
- func GetRomHash() string
- func Run(paths []string, signalChan chan os.Signal, savedirectory string, ...)
- func WordWrap(text string, maxLength int) []string
- type Audio
- type Director
- func (d *Director) PlayGame(path string)
- func (d *Director) Run()
- func (d *Director) SetAudioDisabled(audioDisabled bool)
- func (d *Director) SetGlDisabled(glDisabled bool)
- func (d *Director) SetTitle(title string)
- func (d *Director) SetView(view View)
- func (d *Director) ShowMenu()
- func (d *Director) Start(paths []string)
- func (d *Director) Step()
- type GameView
- type MenuView
- type Texture
- type View
Constants ¶
View Source
const PATH_CHECKPOINTS = "../checkpoints"
Variables ¶
This section is empty.
Functions ¶
func CreateGenericThumbnail ¶
func DrawCenteredText ¶
func GetRomFilename ¶
func GetRomFilename() string
Implement "GetRomFilename"" And "GetRomHash()" #22
func GetRomHash ¶
func GetRomHash() string
Types ¶
type Director ¶
type Director struct {
// contains filtered or unexported fields
}
func NewDirector ¶
func (*Director) SetAudioDisabled ¶
func (*Director) SetGlDisabled ¶
type GameView ¶
type Texture ¶
type Texture struct {
// contains filtered or unexported fields
}
func NewTexture ¶
func NewTexture() *Texture
Click to show internal directories.
Click to hide internal directories.