23 lines
498 B
C#
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;
|
|||
|
}
|
|||
|
}
|