From 60c83e03df90f1b1e6cb79828056e01d5b3e16c2 Mon Sep 17 00:00:00 2001 From: Ny Bruker <robinhs@stud.ntnu.no> Date: Tue, 1 Nov 2022 17:58:45 +0100 Subject: [PATCH] Added enum to tell how an ability should be fired. --- .../Code/Core/Abilities/Base/FireType.cs | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 MrBigsock/Assets/Code/Core/Abilities/Base/FireType.cs diff --git a/MrBigsock/Assets/Code/Core/Abilities/Base/FireType.cs b/MrBigsock/Assets/Code/Core/Abilities/Base/FireType.cs new file mode 100644 index 00000000..5171b0a0 --- /dev/null +++ b/MrBigsock/Assets/Code/Core/Abilities/Base/FireType.cs @@ -0,0 +1,21 @@ +using System.Collections; +using System; +using System.Collections.Generic; +using System.Text; + +using UnityEngine; +using UnityEngine.InputSystem; + + +namespace BigSock { + + /* + How an ability should be fired off. + */ + public enum FireType { + Standard, // Fires on press. Holding down does nothing. + FullAuto, // Can hold down to auto-fire + Charge, // Ability can be held down to charge. + } + +} -- GitLab