-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHarvest.h
39 lines (34 loc) · 926 Bytes
/
Harvest.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
#ifndef HARVEST_H
#define HARVEST_H
#include "Lib.h"
#include "NonEquipCard.h"
class Harvest : public NonEquipCard
{
protected:
bool legalityCheck(Player *target, PreUseStruct *d);
public:
Harvest();
void resolve(TargetStruct *target, UseStruct *d);
bool isMandatoryTarget(Player *target, PreUseStruct *d);
vector<SkillEffect*> getUseSkill(UseStruct *d);
};
class HarvestInit : public Trigger
{
public:
UseStruct *data;
vector<Card*> cards;
HarvestInit(UseStruct *d);
vector<void*> getTrigger(Event *e, vector<void *> past);
bool trigger(Event *e, void *index);
string toString(Event *e, void *index);
};
class HarvestCleanup : public Trigger
{
public:
UseStruct *data;
HarvestCleanup(UseStruct *d);
vector<void*> getTrigger(Event *e, vector<void *> past);
bool trigger(Event *e, void *index);
string toString(Event *e, void *index);
};
#endif // HARVEST_H