1.0.2 • Published 2 years ago

npc-stats v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Description

Library of classes to model videogame stats for NPCs.

Classes available

There are two kind of stats avaliable: PhysicalStats and MentalStats. Both work pretty similar, but PhysicalStats accepts generation using a Profile. There is a ProfileFactory that allows to specify the ProfileKind and the ProfileLevel, the obtained Profile instance can be used in the PhysicalStats.generateFrom method to get the stats instance.