-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpkm_spec.h
More file actions
44 lines (37 loc) · 753 Bytes
/
pkm_spec.h
File metadata and controls
44 lines (37 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include <iostream>
#include <vector>
#include "pkm_move.h"
class Species
{
private:
std::string Name;
int base_stats[6];
struct type
{
int primary;
int secondary;
};
type species_type;
struct movepool
{
int level;
Move move;
};
std::vector<movepool> level_up_moves;
public:
//constructor
Species() {
Name = "Nosepass";
species_type.primary = ROCK;
species_type.secondary = NONE;
base_stats[HP] = 30;
base_stats[ATTACK] = 45;
base_stats[DEFENSE] = 135;
base_stats[SP_ATTACK] = 45;
base_stats[SP_DEFENSE] = 90;
base_stats[SPEED] = 30;
}
std::string get_name() {return Name;}
type get_type() {return species_type;}
int get_stat(int stat_num) {return base_stats[stat_num];}
};