1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-12-28 04:56:26 -05:00
OpenDiablo2/d2core/d2item/item.go

12 lines
254 B
Go
Raw Normal View History

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
}