aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/tick.rs
blob: 09b45be437781b738d58f15dd3320f1a1c030381 (plain)
1
2
3
4
5
6
7
8
9
10
use bevy_ecs::schedule::ScheduleLabel;

/// A Bevy schedule that runs every Minecraft game tick, i.e. every 50ms.
///
/// Many client systems run on this schedule, the most important one being
/// physics.
///
/// This schedule runs either zero or one times after every Bevy `Update`.
#[derive(ScheduleLabel, Hash, Copy, Clone, Debug, Default, Eq, PartialEq)]
pub struct GameTick;