LAMaglan / PokeFightSimulator

A (simple) fight simulator between any two Pokemon using FastAPI with Jinja frontend
0 stars 0 forks source link

Make certain Pokemon attributes instance of (new) class? #58

Open LAMaglan opened 3 months ago

LAMaglan commented 3 months ago

Specifically thinking of those that count as "stats", i.e. hp, defense, and so on. Previously, experimented with inheriting from BaseModel, but that lead to issues. Maybe if simple class, then it would work - or, inherit from TypedDict?