#pragma once #include #include "port/Game.h" namespace TrackEditor { class PropertiesWindow : public Ship::GuiWindow { public: using Ship::GuiWindow::GuiWindow; ~PropertiesWindow(); const std::unordered_map SpawnLabels { {"Name", "Name"}, {"Type", "Type"}, {"Behaviour", "Behaviour"}, {"Skin", "Skin"}, {"Location", "Location"}, {"Rotation", "Rotation"}, {"Scale", "Scale"}, {"Velocity", "Velocity"}, {"PatrolStart", "Patrol Start"}, {"PatrolEnd", "Patrol End"}, {"PathSpan", "Path Span"}, {"PrimAlpha", "PrimAlpha"}, {"BoundingBoxSize", "Bounding Box Size"}, {"Count", "Count"}, {"LeftExitSpan", "Left Exit Span"}, {"TriggerSpan", "Trigger Span"}, {"RightExitSpan", "Right Exit Span"}, {"PathIndex", "Path Index"}, {"PathPoint", "Path Point"}, {"Bool", "Bool"}, {"Speed", "Speed"}, {"SpeedB", "SpeedB"}, }; protected: void InitElement() override {}; void DrawElement() override; void UpdateElement() override {}; }; }