1 | <?php |
||
5 | abstract class Skill implements Contract |
||
6 | { |
||
7 | /** |
||
8 | * The skills ID |
||
9 | * |
||
10 | * @var int |
||
11 | */ |
||
12 | protected $id; |
||
13 | |||
14 | /** |
||
15 | * The skills name |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $name; |
||
20 | |||
21 | /** |
||
22 | * Maximum possible experience in this skill |
||
23 | * |
||
24 | * @var int |
||
25 | */ |
||
26 | protected $maximumExperience; |
||
27 | |||
28 | /** |
||
29 | * Maximum possible level in this skill |
||
30 | * |
||
31 | * @var int |
||
32 | */ |
||
33 | protected $maximumLevel; |
||
34 | |||
35 | /** |
||
36 | * Does the skill effect a players combat level |
||
37 | * |
||
38 | * @var bool |
||
39 | */ |
||
40 | protected $isCombat; |
||
41 | |||
42 | /** |
||
43 | * Does the skill require a membership subscription |
||
44 | * |
||
45 | * @var bool |
||
46 | */ |
||
47 | protected $isMembers; |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | 33 | public function getId() |
|
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | 29 | public function getName() |
|
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | 28 | public function getMaximumExperience() |
|
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | 28 | public function getMaximumLevel() |
|
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | */ |
||
84 | 28 | public function isCombat() |
|
88 | |||
89 | /** |
||
90 | * {@inheritdoc} |
||
91 | */ |
||
92 | 28 | public function isMembers() |
|
96 | } |
||
97 |