C# Class DivineRightGame.ActorHandling.EffectsManager

For Handling of Effects
Show file Open project: Haedrian/Divine-Right

Public Methods

Method Description
PerformEffect ( Actor actor, Effect effect ) : void

Performs the effect on this actor. This includes assigning it to the effects list of the GameState

RemoveEffect ( Effect effect ) : void

Removes the effect of the effect (heh) on the actor. This includes removing it from GameState

Method Details

PerformEffect() public static method

Performs the effect on this actor. This includes assigning it to the effects list of the GameState
public static PerformEffect ( Actor actor, Effect effect ) : void
actor DRObjects.Actor
effect DRObjects.ActorHandling.Effect
return void

RemoveEffect() public static method

Removes the effect of the effect (heh) on the actor. This includes removing it from GameState
public static RemoveEffect ( Effect effect ) : void
effect DRObjects.ActorHandling.Effect
return void