OpenAstra
Loading...
Searching...
No Matches
capability_orbit.h
1
#ifndef ORBIT_OBJECT_H
2
#define ORBIT_OBJECT_H
3
4
#include "../engine/capability.h"
5
6
#include "../utils/json.hpp"
7
46
class
Capability_orbit
47
:
public
Capability
48
{
49
public
:
50
static
constexpr
char
capabilityName[] =
"orbit"
;
51
static
Capability* createFromTemplate( std::shared_ptr<GameObject> future_parent,
const
nlohmann::json& template_data );
52
static
Capability* createFromDump(
ObjectId
id
);
53
54
public
:
55
Capability_orbit(
ObjectId
id
);
56
virtual
~Capability_orbit();
57
58
virtual
void
tick(
double
delta_time_s,
double
total_time_s );
59
60
};
61
62
#endif
// ORBIT_OBJECT_H
ObjectId
Definition
gameid.hpp:9
server
capabilities
capability_orbit.h
Generated by
1.13.2