kuronandash

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package kuronandash is a package for the "Kuronan Dash!" game.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	// contains filtered or unexported fields
}

Game controls all things in the screen.

func NewGame

func NewGame(ver string) (*Game, error)

NewGame returns a new game instance. Please call the Close method when you no longer use this instance.

func (*Game) Close

func (g *Game) Close() error

Close closes inner resources.

func (*Game) Draw added in v0.0.5

func (g *Game) Draw(screen *ebiten.Image)

Update is an implements to draw screens.

func (*Game) Layout added in v0.0.5

func (g *Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)

func (*Game) Update

func (g *Game) Update() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL