/// <inheritdoc/> public override sealed void DoAction() { if (Collector is MultiplePowerupCollector mpc) { AuxillaryPowerups = GetAuxillaryPowerups(mpc); } DoMainAction(AuxillaryPowerups); }
/// <summary> /// The main action that is only called if this powerup is the primary powerup /// </summary> /// <param name="collector">The source collector that collected this powerup</param> /// <param name="auxillaryPowerups">All the other auxiliary actions that are to be applied</param> public abstract void DoMainAction(AuxPowerups auxillaryPowerups);