RosettaStone v0.4
Rosetta
Enchants
Enchant.hpp
Go to the documentation of this file.
1
// Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
2
3
// We are making my contributions/submissions to this project solely in our
4
// personal capacity and are not conveying any rights to any intellectual
5
// property of any third parties.
6
7
#ifndef ROSETTASTONE_ENCHANT_HPP
8
#define ROSETTASTONE_ENCHANT_HPP
9
10
#include <
Rosetta/Enchants/Effect.hpp
>
11
12
#include <vector>
13
14
namespace
RosettaStone
15
{
16
class
Character;
17
24
class
Enchant
25
{
26
public
:
28
Enchant
() =
default
;
29
32
Enchant
(
Effect
& effect);
33
36
Enchant
(std::vector<Effect>& effects);
37
40
void
ActivateTo
(
Character
* character);
41
42
private
:
43
std::vector<Effect> m_effects;
44
};
45
}
// namespace RosettaStone
46
47
#endif // ROSETTASTONE_ENCHANT_HPP
RosettaStone::Effect
Effect class.
Definition:
Effect.hpp:29
RosettaStone::Enchant::Enchant
Enchant()=default
Default constructor.
Effect.hpp
RosettaStone::Enchant
Enchant class.
Definition:
Enchant.hpp:24
RosettaStone
Definition:
AccountInfo.hpp:14
RosettaStone::Character
Abstract character class that stores hero and minion data.
Definition:
Character.hpp:21
RosettaStone::Enchant::ActivateTo
void ActivateTo(Character *character)
Generated on Fri Mar 22 2019 02:36:37 for RosettaStone by
1.8.14