18 lines
405 B
C
18 lines
405 B
C
|
#pragma once
|
||
|
|
||
|
#include <QFrame>
|
||
|
#include <component.hpp>
|
||
|
|
||
|
#include "inspectors/inspectorbase.h"
|
||
|
|
||
|
class RigidbodyInspector : public InspectorBase
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit RigidbodyInspector(Rigidbody* rigidbody, QWidget* parent = nullptr);
|
||
|
|
||
|
InspectorBase* Clone(Component* component) override
|
||
|
{
|
||
|
return new RigidbodyInspector(static_cast<Rigidbody*>(component), nullptr);
|
||
|
}
|
||
|
};
|