aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2023-12-04 23:42:49 -0600
committerGitHub <noreply@github.com>2023-12-04 23:42:49 -0600
commit421d8ce2c837e3140d8f866e63032c277b31a413 (patch)
treed5f06fbcd02c24c6b40edd22cbdfda4d6ed6a39f /azalea-core/src
parentda4afa8ae3afec4cd59b9a19ae1e04818f1763a7 (diff)
downloadazalea-drasl-421d8ce2c837e3140d8f866e63032c277b31a413.tar.xz
Replace Bevy's FixedUpdate with Azalea's GameTick (#119)
* replace bevy FixedUpdate with azalea GameTick * Update to Bevy 0.12.1
Diffstat (limited to 'azalea-core/src')
-rwxr-xr-xazalea-core/src/lib.rs1
-rw-r--r--azalea-core/src/tick.rs4
2 files changed, 5 insertions, 0 deletions
diff --git a/azalea-core/src/lib.rs b/azalea-core/src/lib.rs
index cb67da58..511c897b 100755
--- a/azalea-core/src/lib.rs
+++ b/azalea-core/src/lib.rs
@@ -16,4 +16,5 @@ pub mod particle;
pub mod position;
pub mod registry_holder;
pub mod resource_location;
+pub mod tick;
pub mod tier;
diff --git a/azalea-core/src/tick.rs b/azalea-core/src/tick.rs
new file mode 100644
index 00000000..db10d80a
--- /dev/null
+++ b/azalea-core/src/tick.rs
@@ -0,0 +1,4 @@
+use bevy_ecs::schedule::ScheduleLabel;
+
+#[derive(ScheduleLabel, Hash, Copy, Clone, Debug, Default, Eq, PartialEq)]
+pub struct GameTick;