示例#1
0
		/// <inheritdoc/>
		public override sealed void DoAction()
		{
			if (Collector is MultiplePowerupCollector mpc)
			{
				AuxillaryPowerups = GetAuxillaryPowerups(mpc);
			}
			DoMainAction(AuxillaryPowerups);
		}
示例#2
0
		/// <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);