SpaghettiKart
Loading...
Searching...
No Matches
Properties.h
Go to the documentation of this file.
1#pragma once
2
3#include <libultraship/libultraship.h>
4#include "port/Game.h"
5
6namespace TrackEditor {
7class PropertiesWindow : public Ship::GuiWindow {
8public:
9 using Ship::GuiWindow::GuiWindow;
11
12 const std::unordered_map<std::string, std::string> SpawnLabels {
13 {"Name", "Name"},
14 {"Type", "Type"},
15 {"Behaviour", "Behaviour"},
16 {"Skin", "Skin"},
17 {"Location", "Location"},
18 {"Rotation", "Rotation"},
19 {"Scale", "Scale"},
20 {"Velocity", "Velocity"},
21 {"PatrolStart", "Patrol Start"},
22 {"PatrolEnd", "Patrol End"},
23 {"PathSpan", "Path Span"},
24 {"PrimAlpha", "PrimAlpha"},
25 {"BoundingBoxSize", "Bounding Box Size"},
26 {"Count", "Count"},
27 {"LeftExitSpan", "Left Exit Span"},
28 {"TriggerSpan", "Trigger Span"},
29 {"RightExitSpan", "Right Exit Span"},
30 {"PathIndex", "Path Index"},
31 {"PathPoint", "Path Point"},
32 {"Bool", "Bool"},
33 {"Speed", "Speed"},
34 {"SpeedB", "SpeedB"},
35 };
36protected:
37 void InitElement() override {};
38 void DrawElement() override;
39 void UpdateElement() override {};
40};
41}
Definition Properties.h:7
void InitElement() override
Definition Properties.h:37
void DrawElement() override
Definition Properties.cpp:32
void UpdateElement() override
Definition Properties.h:39
const std::unordered_map< std::string, std::string > SpawnLabels
Definition Properties.h:12
~PropertiesWindow()
Definition Properties.cpp:28
Definition Collision.cpp:17