shotgun/game/item.go

17 lines
175 B
Go
Raw Normal View History

2024-01-20 22:06:56 -06:00
package game
type Item int8
const (
ItemNone Item = iota
ItemLens
ItemCig
ItemBeer
ItemCuff
ItemKnife
)
func NewItem(rng *RNG) Item {
return Item(rng.Intn(5)) + 1
}