remove unused EngineInterface

This commit is contained in:
2023-07-05 18:45:17 +02:00
parent ad30de96d9
commit 8775464c25
3 changed files with 26 additions and 54 deletions

View File

@@ -1,31 +1,6 @@
package entity
type EngineInterface interface {
ClearKeyPresed()
UpPressed() bool
DownPressed() bool
RightPressed() bool
LeftPressed() bool
Action0Pressed() bool
Action1Pressed() bool
Action2Pressed() bool
Action3Pressed() bool
ScreenTypeIs(name string) bool
Update(screen any) error
Draw(screen any)
AddToInventory(item *Item)
RemoveFromInventory(item *Item)
UseInventoryItem(item *Item)
DialogDraw(screen any)
DialogUpdate()
MenuDraw(screen any)
MenuUpdate()
PlaygroundDraw(screen any)
PlaygroundUpdate()
}
type EngineOptions struct {
Engine EngineInterface
Domain DomainInterface
KContext KContext
Settings Settings