fixed a few issues
This commit is contained in:
@@ -31,11 +31,13 @@ public partial class WeaponInventory(
|
||||
[Export]
|
||||
public ForgeAbilityBehavior[] OnWeaponStoppedPlantedAbilities { get; set; } = onWeaponStoppedPlantedAbilities;
|
||||
|
||||
public Dictionary<WeaponSystem.WeaponEvent, ForgeAbilityBehavior[]> EventMap { get; private set; } = [];
|
||||
|
||||
public WeaponInventory() : this([], [], [], [], [], [])
|
||||
{
|
||||
EventMap = new Dictionary<WeaponSystem.WeaponEvent, ForgeAbilityBehavior[]>
|
||||
}
|
||||
|
||||
public Dictionary<WeaponSystem.WeaponEvent, ForgeAbilityBehavior[]> GetEventAbilitiesMap()
|
||||
{
|
||||
return new Dictionary<WeaponSystem.WeaponEvent, ForgeAbilityBehavior[]>
|
||||
{
|
||||
{ WeaponSystem.WeaponEvent.StartedFlying, OnWeaponStartedFlyingAbilities },
|
||||
{ WeaponSystem.WeaponEvent.StoppedFlying, OnWeaponStoppedFlyingAbilities },
|
||||
|
||||
Reference in New Issue
Block a user