OpenDiablo2/d2core/d2item/item.go

12 lines
254 B
Go

package d2item
// Item describes all types of item that can be placed in the
// player inventory grid (not just things that can be equipped!)
type Item interface {
Context() StatContext
SetContext(StatContext)
Label() string
Description() string
}