blob: 4b4da8ffe102b3a4f954e288c57556d6412426e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <cstdint>
#include "api/Point.h"
#include "util/log.h"
#include "Component.h"
#include "Transform.h"
using namespace crepe::api;
Transform::Transform(uint32_t game_id, Point point, double rot, double scale)
: Component(game_id), position(point), rotation(rot), scale(scale) {
dbg_trace();
}
Transform::~Transform() { dbg_trace(); }
int Transform::get_instances_max() const { return 1; }
|