19 lines
236 B
Go
19 lines
236 B
Go
package entity
|
|
|
|
type InventoryItem struct {
|
|
Item Item
|
|
Used bool
|
|
Active bool
|
|
}
|
|
|
|
type Inventory struct {
|
|
Items []InventoryItem
|
|
}
|
|
|
|
type Player struct {
|
|
ID string
|
|
Render Render
|
|
Position Position
|
|
Inventory Inventory
|
|
}
|