[Feature] Added text of powerups
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user