Skip to content

Commit

Permalink
Remove references to CoreStage in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
snendev committed Jan 17, 2024
1 parent 787537a commit 64b4646
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/frame_counting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
use std::ops::{Add, Sub};
/// The number of frames that have elapsed since the app started
///
/// Updated in [`time_tracker`] during [`CoreStage::First`].
/// Updated in [`time_tracker`] during the [`First`] schedule.
#[derive(
Resource,
Clone,
Expand Down Expand Up @@ -38,7 +38,7 @@ impl Sub<FrameCount> for FrameCount {

/// A system which increases the value of the [`FrameCount`] resource by 1 every frame
///
/// This system should run during [`CoreStage::First`].
/// This system should run during the [`First`] schedule.
pub fn frame_counter(mut frame_count: ResMut<FrameCount>) {
frame_count.0 += 1;
}
2 changes: 1 addition & 1 deletion src/input_playback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use crate::timestamped_input::{TimestampedInputEvent, TimestampedInputs};

/// Reads from the [`TimestampedInputs`] event stream to determine which events to play back.
///
/// Events are played back during [`CoreStage::First`] to accurately mimic the behavior of native `winit`-based inputs.
/// Events are played back during the [`First`] schedule to accurately mimic the behavior of native `winit`-based inputs.
/// Which events are played back are controlled via the [`PlaybackStrategy`] resource.
///
/// Input is deserialized on app startup from the path stored in the [`PlaybackFilePath`] resource, if any.
Expand Down

0 comments on commit 64b4646

Please sign in to comment.