RoboidControl-cpp/Placement.h
2023-11-22 15:06:10 +01:00

25 lines
515 B
C++

#pragma once
#include "ControlledMotor.h"
#include "DistanceSensor.h"
#include "Motor.h"
#include "Thing.h"
#include "Vector2.h"
#include "Vector3.h"
class Placement {
public:
Placement();
Placement(Thing* thing, Vector3 position);
Placement(Thing* thing, Vector3 position, float horizontalAngle);
Placement(Thing* thing, float horizontalAngle);
Placement* parent = nullptr;
Placement** children = nullptr;
unsigned int childCount = 0;
Vector3 position;
Vector3 direction;
Thing* thing;
};