RoboidControl-cpp/Placement.h
2023-11-28 12:53:07 +01:00

31 lines
653 B
C++

#pragma once
#include "ControlledMotor.h"
#include "DistanceSensor.h"
#include "Motor.h"
#include "Thing.h"
#include "Vector2.h"
#include "Vector3.h"
namespace Passer {
namespace RoboidControl {
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;
};
} // namespace RoboidControl
} // namespace Passer
using namespace Passer::RoboidControl;