rename Trigger to Sensor

This commit is contained in:
MihailRis
2024-07-09 07:37:20 +03:00
parent 0a14d6220a
commit c94c2697e7
11 changed files with 93 additions and 93 deletions
+3 -3
View File
@@ -19,8 +19,8 @@ struct entity_funcs_set {
bool on_despawn : 1;
bool on_grounded : 1;
bool on_fall : 1;
bool on_trigger_enter : 1;
bool on_trigger_exit : 1;
bool on_sensor_enter : 1;
bool on_sensor_exit : 1;
bool on_save : 1;
};
@@ -64,7 +64,7 @@ struct Transform {
struct Rigidbody {
bool enabled = true;
Hitbox hitbox;
std::vector<Trigger> triggers;
std::vector<Sensor> sensors;
};
struct UserComponent {