mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-12-27 12:36:38 -05:00
524132c122
* d2ui.Label: add support for color tokens in labels, multiple colors per label * unique items should use the item name as the map key
12 lines
254 B
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
|
|
}
|