Added configurable weapons.
This commit is contained in:
11
AlientAttack.MonoGame/Things/Weapons/WeaponDef.cs
Normal file
11
AlientAttack.MonoGame/Things/Weapons/WeaponDef.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using AlienAttack.MonoGame.Things.Bullets;
|
||||
|
||||
namespace AlienAttack.MonoGame.Things.Weapons;
|
||||
|
||||
public sealed class WeaponDef
|
||||
{
|
||||
public required string Name { get; init; }
|
||||
public required ShotPattern Pattern { get; init; }
|
||||
public required BulletDef Bullet { get; init; }
|
||||
public required string FireSfxKey { get; init; } = "player_fire";
|
||||
}
|
||||
Reference in New Issue
Block a user