IHittable
Interface in SurvivEngine namespace
Interface in SurvivEngine namespace
The IHittable interface defines the method for hitting an object and a method to determine the most effective damage type to hit it with.
Performs hit functionality on the hittable object
hitInfo A struct of information about the hit
Iterates over incoming damages and returns the single most effective damage
Implementation is specific to the hittable object
damages Incoming damage to iterate over