leveleditor

package
v0.0.0-...-fc2dc21 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScreenWidth  = 1512
	ScreenHeight = 1024
)

Variables

This section is empty.

Functions

func StartLevelEditor

func StartLevelEditor()

Types

type LevelEditor

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

func NewLevelEditor

func NewLevelEditor() *LevelEditor

func (*LevelEditor) Draw

func (l *LevelEditor) Draw(screen *ebiten.Image)

func (*LevelEditor) Layout

func (l *LevelEditor) Layout(outsideWidth, outsideHeight int) (int, int)

func (*LevelEditor) Update

func (l *LevelEditor) Update() error

type Tool

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

type Toolbar

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

func NewToolbar

func NewToolbar() *Toolbar

func (*Toolbar) Draw

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

func (*Toolbar) Update

func (t *Toolbar) Update() error

Jump to

Keyboard shortcuts

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