inventory screen skeleton

This commit is contained in:
2023-07-05 22:13:17 +02:00
parent 5e4f63aecc
commit 2ea2554f73
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
package engine
import (
"game/konstructor/entity"
"github.com/hajimehoshi/ebiten"
)
func (e *Engine) InventoryUpdate() {
}
func (e *Engine) InventoryDraw(screen *ebiten.Image) {
}
func (e *Engine) AddToInventory(item *entity.Item) {
e.Domain.AddToInventory(item)
}
func (e *Engine) RemoveFromInventory(item *entity.Item) {
e.Domain.RemoveFromInventory(item)
}
func (e *Engine) UseInventoryItem(item *entity.Item) {
e.Domain.UseInventoryItem(item)
}