A small entity class for a bullet block that selects a projectile variant based on phase. It derives from BlockBullet and returns DragonBouncePhase1 for phase 1, otherwise DragonBouncePhase2.
namespace BlockParty;
/// <summary>
/// Dragon-derived ricochet shooter. Both phases bounce from authored geometry, with phase 2
/// using a distinct palette and substantially higher speed.
/// </summary>
public sealed class BlockDragonBounce : BlockBullet
{
protected override BlockBulletVariant ProjectileVariantForPhase( int phase )
=> phase == 1 ? BlockBulletVariant.DragonBouncePhase1 : BlockBulletVariant.DragonBouncePhase2;
}