Implement basic stash command

This commit is contained in:
Marc Di Luzio 2020-06-26 18:59:12 +01:00
parent db3c2c2c2e
commit 8b1eca0aee
3 changed files with 34 additions and 10 deletions

View file

@ -1,13 +1,5 @@
package game
// Each item is a specific type
const (
ItemNone = byte(0)
// Describes a single rock
ItemRock = byte(1)
)
// Item describes an item that can be held
type Item struct {
Type byte `json:"type"`