Add layers on stats and small refactor

This commit is contained in:
Héctor Giménez
2023-03-13 21:28:12 +09:00
parent c0459ce99f
commit 04c30b2fe8
8 changed files with 57 additions and 45 deletions

View File

@@ -18,7 +18,7 @@ type Monster struct {
Name npc.ID
IsHovered bool
Position Position
Stats map[stat.Stat]int
Stats map[stat.ID]int
Type MonsterType
}