mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-10 08:07:56 -06:00
docs: document many major functions, types, enums for important functionality
This commit is contained in:
@@ -14,10 +14,7 @@ use crate::{
|
||||
},
|
||||
};
|
||||
|
||||
/// Ghost AI system that handles randomized movement decisions.
|
||||
///
|
||||
/// This system runs on all ghosts and makes periodic decisions about
|
||||
/// which direction to move in when they reach intersections.
|
||||
/// Autonomous ghost AI system implementing randomized movement with backtracking avoidance.
|
||||
pub fn ghost_movement_system(
|
||||
map: Res<Map>,
|
||||
delta_time: Res<DeltaTime>,
|
||||
|
||||
Reference in New Issue
Block a user