mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
rename Trigger to Sensor
This commit is contained in:
parent
0a14d6220a
commit
c94c2697e7
11 changed files with 93 additions and 93 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue