class Hacker Hero public Hacker this new List Knowledge public Hacker

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
class Hacker:Hero
{
public Hacker()
:this(1, new List<Knowledge>(0))
{
}
public Hacker(int hackerlevel)
: this(hackerlevel, new List<Knowledge>(0))
{
}
public Hacker(int hackerlevel, List<Knowledge> hackerKnowledge)
{
Level = hackerlevel;
Experience = 0;
manna = 100;
health = 100;
heroKnowledges.Add(new HandAttack());
heroKnowledges.AddRange(hackerKnowledge);
}
}