export

package
v0.0.0-...-a4a601d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Json

type Json struct {
	Label           string   `json:"label"`
	Width           int      `json:"width"`
	Height          int      `json:"height"`
	Screen          []string `json:"screen"`
	Palette         []string `json:"palette"`
	HardwarePalette []string `json:"hardwarepalette"`
}

func NewJson

func NewJson(label string, width int, height int, screen []string, palette []string, hardwarepalette []string) *Json

func (*Json) Save

func (j *Json) Save(file string) error

type JsonSlice

type JsonSlice struct {
	Sprites []*Json `json:"sprites"`
}

func NewJsonSlice

func NewJsonSlice() *JsonSlice

func (*JsonSlice) Save

func (j *JsonSlice) Save(file string) error

Directories

Path Synopsis
impdraw

Jump to

Keyboard shortcuts

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