mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-18 02:16:23 -05:00
12 lines
253 B
Go
12 lines
253 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)
|
||
|
|
||
|
Name() string
|
||
|
Description() string
|
||
|
}
|