mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-10 13:34:36 -04:00
* 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
|
|
}
|