Add an inventory to the rover

This commit is contained in:
Marc Di Luzio 2020-06-26 18:13:23 +01:00
parent 15b8f0a427
commit 8019ea4e25
3 changed files with 24 additions and 3 deletions

14
pkg/game/items.go Normal file
View file

@ -0,0 +1,14 @@
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"`
}