OpenAstra
 
Loading...
Searching...
No Matches
capability_grow_quantity.h
1#ifndef CAPABILITY_GROW_QUANTITY_H
2#define CAPABILITY_GROW_QUANTITY_H
3
4#include <vector>
5
6#include "../engine/capability.h"
7
13class Capability_grow_quantity
14 : public Capability
15{
16public:
17 static constexpr char capabilityName[] = "grow_quantity";
18 static Capability* createFromTemplate( std::shared_ptr<GameObject> future_parent, const nlohmann::json& template_data );
19 static Capability* createFromDump( ObjectId id );
20
21public:
22 Capability_grow_quantity( ObjectId id );
23 virtual ~Capability_grow_quantity();
24
25 void tick(double delta_time_s, double total_time_s);
26
27};
28
29#endif // CAPABILITY_GROW_QUANTITY_H
Definition gameid.hpp:9