items

package
v0.0.0-...-5016d65 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemsMap

type ItemsMap map[coord]string

func New

func New() ItemsMap

func (ItemsMap) AddItem

func (i ItemsMap) AddItem(item string, x int32, y int32) bool

add item, return false if it could not be added

func (ItemsMap) GetItem

func (i ItemsMap) GetItem(x int32, y int32) string

func (ItemsMap) RemoveItem

func (i ItemsMap) RemoveItem(item string, x int32, y int32)

Jump to

Keyboard shortcuts

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