C# Class DivineRightGame.CombatHandling.HealthCheckManager

Class for handling Health Checks, bleeding, stunning and the like
显示文件 Open project: Haedrian/Divine-Right

Public Methods

Method 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 method

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
return ActionFeedback[]

HealCharacter() public static method

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.
return void