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
13
class
Capability_grow_quantity
14
:
public
Capability
15
{
16
public
:
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
21
public
:
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
ObjectId
Definition
gameid.hpp:9
server
capabilities
capability_grow_quantity.h
Generated by
1.13.2