forked from ironandstee1/swemu-plus-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PokemonEggHatching.h
58 lines (40 loc) · 1.39 KB
/
PokemonEggHatching.h
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef _PokemonEggHatching_H_
#define _PokemonEggHatching_H_
#include "LUFAConfig.h"
#include <LUFA.h>
#include "Joystick.h"
#include "Descriptors.h"
#include "General.h"
using namespace std;
class PokemonEggHatching {
public:
PokemonEggHatching::PokemonEggHatching() {}
/// Hatches entire boxes of pokemon
/// @param boxes number of boxes of eggs
void boxHatch(const int boxes);
/// Hatches pokemon eggs repeatedly based on egg steps chosen by the user.
/// Possible values: 2560, 3840, 5120, 6400, 7680, 8960, 10240
/// @param eggSteps egg steps that it takes to hatch an egg.
void eggHatch(const int eggSteps);
/// Collects eggs repeatedly
void eggCollect();
private:
General general;
/// Executes the path for hatching pokemon from boxes
void boxHatchPath();
/// Moves the player in circles on a bike
void circleCW(int numberOfCircles);
/// Hatches a column of pokemon from your box
void columnHatch(int column);
/// Sends the egg straight to PC
void depositEgg();
/// Hatches an egg
void eggHatchSequence();
/// Gets an egg from the Daycare and puts it in a chosen slot (failure proof)
void getEgg(int eggNumber);
/// Swaps a row of pokemon with a row of eggs
void partySwap(int column);
/// Returns the player to the daycare after an egg hatch
void returnToDaycare(); /// Returns the player to the daycare after an egg hatch
};
#endif