template

package
v0.0.0-...-c30d63a Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateObject

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

func (*TemplateObject) Draw

func (t *TemplateObject) Draw(screen *ebiten.Image)

func (*TemplateObject) GetPhysObj

func (t *TemplateObject) GetPhysObj() *resolv.Object

func (*TemplateObject) GetSprite

func (t *TemplateObject) GetSprite() *ebiten.Image

func (*TemplateObject) Init

func (t *TemplateObject) Init(ImageFilepath string)

func (*TemplateObject) ReadInput

func (t *TemplateObject) ReadInput()

func (*TemplateObject) SetPosition

func (t *TemplateObject) SetPosition(position basics.Vector2f)

func (*TemplateObject) Update

func (t *TemplateObject) Update(deltaTime float64)

type TemplateScene

type TemplateScene struct {
}

func (*TemplateScene) Draw

func (t *TemplateScene) Draw(screen *ebiten.Image)

func (*TemplateScene) Init

func (t *TemplateScene) Init()

func (*TemplateScene) ReadInput

func (t *TemplateScene) ReadInput()

func (*TemplateScene) Update

func (t *TemplateScene) Update(state *scenes.GameState, deltaTime float64) error

Jump to

Keyboard shortcuts

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