mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-17 14:12:40 -06:00
feat: implement stage transition for ghost eaten pause and add TimeToLive component
- `StageTransition` enum allows for collision system to apply state transition for ghost pausing. - Added `TimeToLive` component & `time_to_live_system` to provide temporary sprite rendering of bonus sprites. - Updated `stage_system` to handle the new ghost eaten pause state, including freezing entities and spawning bonus points.
This commit is contained in:
@@ -157,6 +157,7 @@ pub enum SystemId {
|
||||
Stage,
|
||||
GhostStateAnimation,
|
||||
EatenGhost,
|
||||
TimeToLive,
|
||||
}
|
||||
|
||||
impl Display for SystemId {
|
||||
|
||||
Reference in New Issue
Block a user