RosettaStone::Enchant Class Reference
#include <Rosetta/Enchants/Enchant.hpp>
Public Member Functions | |
Enchant ()=default | |
Default constructor. More... | |
Enchant (Effect &effect) | |
Enchant (std::vector< Effect > &effects) | |
void | ActivateTo (Character *character) |
Detailed Description
Enchant class.
This class stores an enchantment, also known as a buff or debuff. It is a special effect gained by a minion, or in rarer occasions by a weapon.
Constructor & Destructor Documentation
◆ Enchant() [1/3]
|
default |
Default constructor.
◆ Enchant() [2/3]
RosettaStone::Enchant::Enchant | ( | Effect & | effect | ) |
Constructs enchant with given effect
.
- Parameters
-
effect The effect of the card.
◆ Enchant() [3/3]
RosettaStone::Enchant::Enchant | ( | std::vector< Effect > & | effects | ) |
Constructs enchant with given effects
.
- Parameters
-
effects A list of effect.
Member Function Documentation
◆ ActivateTo()
void RosettaStone::Enchant::ActivateTo | ( | Character * | character | ) |
Activates enchant to character
.
- Parameters
-
character The character to which enchant is activated.
The documentation for this class was generated from the following file:
- Rosetta/Enchants/Enchant.hpp