Added States for monsters and corpses (#43)

This commit is contained in:
elb
2024-09-29 07:32:19 -04:00
committed by GitHub
parent 8239f1bbe4
commit 9020cc396e
5 changed files with 35 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ package data
import (
"github.com/hectorgimenez/d2go/pkg/data/npc"
"github.com/hectorgimenez/d2go/pkg/data/stat"
"github.com/hectorgimenez/d2go/pkg/data/state"
)
type NPC struct {
@@ -20,6 +21,7 @@ type Monster struct {
Position Position
Stats map[stat.ID]int
Type MonsterType
States state.States
}
type Monsters []Monster