22 lines
802 B
C#
22 lines
802 B
C#
using System.Collections.Generic;
|
|
using Gamesmiths.Forge.Godot.Resources.Abilities;
|
|
using Godot;
|
|
|
|
namespace Movementtests.managers;
|
|
|
|
[GlobalClass]
|
|
public partial class WeaponInventory(
|
|
ForgeAbilityBehavior[] onWeaponStartedFlyingAbilities,
|
|
ForgeAbilityBehavior[] onWeaponFlyingTickAbilities,
|
|
ForgeAbilityBehavior[] onWeaponStoppedFlyingAbilities
|
|
) : Resource
|
|
{
|
|
[Export]
|
|
public ForgeAbilityBehavior[] OnWeaponStartedFlyingAbilities { get; set; } = onWeaponStartedFlyingAbilities;
|
|
[Export]
|
|
public ForgeAbilityBehavior[] OnWeaponFlyingTickAbilities { get; set; } = onWeaponFlyingTickAbilities;
|
|
[Export]
|
|
public ForgeAbilityBehavior[] OnWeaponStoppedFlyingAbilities { get; set; } = onWeaponStoppedFlyingAbilities;
|
|
|
|
public WeaponInventory() : this([], [], []) {}
|
|
} |