controller keymap fix, inventory skeleton

This commit is contained in:
2023-07-05 10:33:50 +02:00
parent 2c556a3dac
commit 25b03cfd2f
10 changed files with 93 additions and 44 deletions

View File

@@ -7,48 +7,10 @@ type Position struct {
}
type RenderOptions struct {
Image string
Width int
Height int
}
type ObjectType struct {
ID string
RenderOptions RenderOptions
}
type Object struct {
ID string
Type ObjectType
Position Position
}
type NPCType struct {
ID string
RenderOptions RenderOptions
}
type NPC struct {
ID string
Type NPCType
Position Position
}
type Player struct {
ID string
RenderOptions RenderOptions
Position Position
}
type ItemType struct {
ID string
RenderOptions RenderOptions
}
type Item struct {
ID string
Type ItemType
Position Position
Image string
Width int
Height int
Visible bool
}
type Playground struct {