Moving to standardgamepad buttons.

This commit is contained in:
2024-11-08 16:02:41 -05:00
parent b4287ad61e
commit 9130155999
2 changed files with 21 additions and 4 deletions

View File

@@ -58,6 +58,7 @@ type Hero struct {
Lastpos Coordinates
Action HeroAction
cycles int
Upgrade bool
rotating bool
Toggled bool
Hit bool
@@ -77,6 +78,7 @@ func NewHero() *Hero {
rotating: false,
Toggled: false,
dyingcount: 0,
Upgrade: true,
}
m.Maks.Fill(color.White)