CardRPG 1.0
 
Loading...
Searching...
No Matches
CardRPG.ITriggerEffect Interface Reference

Interface for effects that trigger. More...

Inheritance diagram for CardRPG.ITriggerEffect:
CardRPG.IHangingEffect CardRPG.Charm CardRPG.Ward CardRPG.AccuracyCharm CardRPG.AttackCharm CardRPG.HealCharm CardRPG.PierceCharm CardRPG.Armor CardRPG.DefenseWard CardRPG.Prism

Public Member Functions

float CalculateModifier (float value)
 Calculate the modifier based on the given value.
 
- Public Member Functions inherited from CardRPG.IHangingEffect
void Activate (Dueler dueler)
 The activate method is called to apply the effect to the Dueler.
 
void Deactivate (Dueler dueler)
 The deactivate method is called to remove the effect from the Dueler.
 

Additional Inherited Members

- Properties inherited from CardRPG.IHangingEffect
string Name [get, set]
 The name of the effect.
 
int Element [get, set]
 The element of the effect.
 
Sprite Sprite [get]
 The sprite representing the effect.
 
string Description [get, set]
 The description of the effect.
 
int Modifier [get, set]
 The modifier value of the effect, which can be positive or negative.
 

Detailed Description

Interface for effects that trigger.

Member Function Documentation

◆ CalculateModifier()

float CardRPG.ITriggerEffect.CalculateModifier ( float value)

Calculate the modifier based on the given value.

Parameters
value
Returns

Implemented in CardRPG.AccuracyCharm, CardRPG.Armor, CardRPG.AttackCharm, CardRPG.Charm, CardRPG.DefenseWard, CardRPG.HealCharm, CardRPG.PierceCharm, CardRPG.Prism, and CardRPG.Ward.


The documentation for this interface was generated from the following file: