docs: Change // (regular comment) to /// (doc comment)
This commit is contained in:
@@ -17,12 +17,12 @@ impl Plugin for NotificationPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
// Spawns the notification container up
|
||||
/// Spawns the notification container up
|
||||
fn setup(mut commands: Commands) {
|
||||
commands.spawn(notification_container());
|
||||
}
|
||||
|
||||
// Spawns/Despawns UI elements for each item in the `Notifications` Resource
|
||||
/// Spawns/Despawns UI elements for each item in the `Notifications` Resource
|
||||
fn handle_notification(
|
||||
mut commands: Commands,
|
||||
mut notifications: ResMut<Notifications>,
|
||||
|
||||
@@ -107,7 +107,7 @@ fn tick_timer(
|
||||
}
|
||||
}
|
||||
|
||||
// Rewards the player at the end of a focus phase with `berries_per_focus_minute` * `focus_duration`
|
||||
/// Rewards the player at the end of a focus phase with `berries_per_focus_minute` * `focus_duration`
|
||||
fn grant_focus_rewards(
|
||||
mut messages: MessageReader<PhaseTimerFinishedMessage>,
|
||||
config: Res<GameConfig>,
|
||||
|
||||
@@ -174,7 +174,7 @@ fn load_savegame(
|
||||
}
|
||||
}
|
||||
|
||||
// Resets all components/resources loaded by `load_savegame`
|
||||
/// Resets all components/resources loaded by `load_savegame`
|
||||
fn reset_savegame(
|
||||
mut commands: Commands,
|
||||
grid: Res<Grid>,
|
||||
|
||||
Reference in New Issue
Block a user