Added more sound effects. Added initial weapon muzzle fire logic.
This commit is contained in:
@@ -14,6 +14,8 @@ internal abstract class Item : MoveableSprite
|
||||
|
||||
protected string TextureName;
|
||||
|
||||
protected abstract PickupKind Kind { get; }
|
||||
|
||||
public Item(int x, int y) : base(x, y)
|
||||
{
|
||||
YVelocity = .5f;
|
||||
@@ -61,6 +63,7 @@ internal abstract class Item : MoveableSprite
|
||||
{
|
||||
IsDead = true;
|
||||
ApplyEffect(player);
|
||||
context.AudioManager.PlayPickup(Kind);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user