Implement basic stash command
This commit is contained in:
parent
db3c2c2c2e
commit
8b1eca0aee
3 changed files with 34 additions and 10 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue