Open tynberry opened 3 years ago
Hi! This use-case will probably be covered by Entity "inheritance" which will allow to create a base Entity, then "extend" it to add some extra properties (eg. a Mob entity, extended to MeleeMob, RangedMob etc.)
I will open a dedicated issue :)
Related #408
Enum values could have custom properties. This would allow for having one entity for all enemies while each one would have its specific variables. For example: Melee enemy - hitscan range, punch speed Ranged enemy - projectile type, projectile speed, firerate, accuracy Ambient enemy - *nothing*