diff options
Diffstat (limited to 'Thronefall_1_57/Decompile/Thronefall/PlayerAttack.cs')
| -rw-r--r-- | Thronefall_1_57/Decompile/Thronefall/PlayerAttack.cs | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Thronefall_1_57/Decompile/Thronefall/PlayerAttack.cs b/Thronefall_1_57/Decompile/Thronefall/PlayerAttack.cs deleted file mode 100644 index 3def160..0000000 --- a/Thronefall_1_57/Decompile/Thronefall/PlayerAttack.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Rewired; -using UnityEngine; - -public class PlayerAttack : MonoBehaviour -{ - public Hp hpPlayer; - - public AttackCooldownAnimation ui; - - private ManualAttack attack; - - private Player input; - - private void Start() - { - input = ReInput.players.GetPlayer(0); - } - - private void Update() - { - if ((bool)attack) - { - attack.Tick(); - attack.DisableMarkersIfDead(); - ui.SetCurrentCooldownPercentage(attack.CooldownPercentage); - } - } - - public void AssignManualAttack(ManualAttack target) - { - attack = target; - } -} |
