[Feature] Added text of powerups

This commit is contained in:
Pasha Bibko
2025-11-28 18:10:10 +00:00
parent 569056a9a5
commit 9265cbbf99
3 changed files with 105 additions and 10 deletions

View File

@@ -14,6 +14,18 @@ public class PlayerModifier : OrbitalBehaviour
SpeedUp
}
public static string ModifierToString(Modifiers mod) =>
mod switch
{
Modifiers.GainPoints => "100 Points",
Modifiers.FreeHit => "Temporary Shield",
Modifiers.GrowPlayer => "Grow Player",
Modifiers.ShrinkPlayer => "Shrink Player",
Modifiers.ClearAllEnemies => "Clear all enemies",
Modifiers.SpeedUp => "Speed Boost",
_ => "NULL"
};
private static readonly System.Random s_RandomGenerator = new();
public Modifiers Modifier { get; private set; }