projectEli/Assets/NeoFPS/Core/Weapons/WieldableTools/IWieldableToolModule.cs

38 lines
728 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NeoFPS.WieldableTools
{
public interface IWieldableToolModule
{
bool initialised { get; }
bool isValid { get; }
WieldableToolActionTiming timing { get; }
bool blocking { get; }
void Initialise(IWieldableTool tool);
void FireStart();
void FireEnd(bool success);
bool TickContinuous();
void Interrupt();
}
[Flags]
public enum WieldableToolActionTiming
{
Start = 1,
End = 2,
Continuous = 4
}
[Flags]
public enum WieldableToolOneShotTiming
{
Start = 1,
End = 2
}
}