Updated asteroids and mines. Updated ship class names. Added initial ship muzzle logic.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using AlienAttack.MonoGame.Things.Bullets;
|
||||
using AlienAttack.MonoGame.Things.Enemies;
|
||||
using AlienAttack.MonoGame.Things.Enemies.Ships;
|
||||
using AlienAttack.MonoGame.Things.Items;
|
||||
using AlienAttack.MonoGame.Things.Muzzles;
|
||||
using AlienAttack.MonoGame.Things.Weapons;
|
||||
@@ -415,15 +415,6 @@ public class Player : MoveableSprite
|
||||
|
||||
if (context.Sprite is Shields)
|
||||
{
|
||||
//SCIEnrg_Shield Activate_01_SFRMS_SCIWPNS
|
||||
|
||||
//int number = context.Random.Next(1, 6);
|
||||
|
||||
//SoundEffect soundEffect = context.Content.Load<SoundEffect>(@$"Sfx\Shield\SCIEnrg_Shield Activate_0{number}_SFRMS_SCIWPNS");
|
||||
//soundEffect.Play(0.85f, (float)(context.Random.NextDouble() * 0.1 - 0.05), 0);
|
||||
|
||||
//context.AudioManager.PlayPickup(PickupKind.Shield);
|
||||
|
||||
GiveShield(20);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user