Added configurable weapons.

This commit is contained in:
2026-01-03 21:49:27 -05:00
parent 79fd63c3ce
commit e8e31bb143
37 changed files with 332 additions and 88 deletions

View File

@@ -5,7 +5,7 @@ using System;
namespace AlienAttack.MonoGame.Things.Weapons;
internal record FireBulletContext
public record FireBulletContext
{
public Sprite Owner { get; init; }
public SpriteUpdateContext SpriteUpdateContext { get; init; }
@@ -24,7 +24,7 @@ public record Shot
public float YVelocity { get; init; }
}
internal record FireBulletFromMuzzleContext
public record FireBulletFromMuzzleContext
{
public Sprite Owner { get; init; }
public SpriteUpdateContext SpriteUpdateContext { get; init; }