C# Class DivineRightGame.CombatHandling.HealthCheckManager

Class for handling Health Checks, bleeding, stunning and the like
Afficher le fichier Open project: Haedrian/Divine-Right

Méthodes publiques

Méthode Description
CheckHealth ( Actor actor ) : ActionFeedback[]

Checks for health and decides whether the character should be dead Also bleeds the character Also checks whether the character is stunned or not

HealCharacter ( Actor actor, int rounds ) : void

Heal this character if they require it You heal one point each time, +1 for every 5 levels in Healing Healing happens top down

Method Details

CheckHealth() public static méthode

Checks for health and decides whether the character should be dead Also bleeds the character Also checks whether the character is stunned or not
public static CheckHealth ( Actor actor ) : ActionFeedback[]
actor DRObjects.Actor
Résultat ActionFeedback[]

HealCharacter() public static méthode

Heal this character if they require it You heal one point each time, +1 for every 5 levels in Healing Healing happens top down
public static HealCharacter ( Actor actor, int rounds ) : void
actor DRObjects.Actor
rounds int The amount of rounds we're going to do this for.
Résultat void