Add some command handlers

This commit is contained in:
Aaron Kimbre
2023-08-12 00:40:48 -05:00
parent 2db8caadde
commit 84ba38bd1d
4 changed files with 122 additions and 51 deletions

View File

@@ -20,7 +20,6 @@ enum class eWaypointCommandType : uint32_t {
CHANGE_WAYPOINT,
DELETE_SELF,
KILL_SELF,
REMOVE_SELF,
SPAWN_OBJECT,
PLAY_SOUND,
};
@@ -45,7 +44,7 @@ public:
{"changeWP", eWaypointCommandType::CHANGE_WAYPOINT},
{"DeleteSelf", eWaypointCommandType::DELETE_SELF},
{"killself", eWaypointCommandType::KILL_SELF},
{"removeself", eWaypointCommandType::REMOVE_SELF},
{"removeself", eWaypointCommandType::DELETE_SELF},
{"spawnOBJ", eWaypointCommandType::SPAWN_OBJECT},
{"playSound", eWaypointCommandType::PLAY_SOUND},
};