projectEli/Assets/NeoFPS/Core/Weapons/MeleeWeapons/IMeleeWeapon.cs
2022-11-06 20:28:33 -05:00

23 lines
498 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace NeoFPS
{
public interface IMeleeWeapon
{
ICharacter wielder { get; }
bool blocking { get; }
bool attacking { get; }
void PrimaryPress();
void PrimaryRelease();
void SecondaryPress();
void SecondaryRelease();
event UnityAction<bool> onAttackingChange;
event UnityAction<bool> onBlockStateChange;
}
}