Skip to content

Commit

Permalink
Updated scripts
Browse files Browse the repository at this point in the history
Updated the name of CooldownsManager inside scripts
  • Loading branch information
jozzzzep committed Nov 23, 2020
1 parent e9060a8 commit bed08c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Classes/Cooldown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public float Duration
#region Constructors

/// <summary>
/// NOT RECOMMENDED - Use the <see cref="CooldownManager"/> class for creating a cooldown. <see cref="CooldownManager.NewCooldown(float)"/>
/// NOT RECOMMENDED - Use the <see cref="CooldownsManager"/> class for creating a cooldown. <see cref="CooldownsManager.NewCooldown(float)"/>
/// </summary>
/// <param name="_duration">The default duration of the cooldown</param>
public Cooldown(float _duration)
Expand All @@ -60,7 +60,7 @@ public Cooldown(float _duration)
#region Methods

/// <summary>
/// <para> DON'T YOU THIS METHOD IF YOU USE THE <see cref="CooldownManager"/>. (and you should use the <see cref="CooldownManager"/>) </para>
/// <para> DON'T YOU THIS METHOD IF YOU USE THE <see cref="CooldownsManager"/>. (and you should use the <see cref="CooldownsManager"/>) </para>
/// The most important method. Call it on Update() inside a MonoBehaviour.
/// </summary>
public void Update()
Expand Down
4 changes: 2 additions & 2 deletions Classes/CooldownsManager.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

public class CooldownManager
public class CooldownsManager
{
/// A class for handling and managing multiple cooldowns efficiently.
///
Expand All @@ -20,7 +20,7 @@ public class CooldownManager
#region Methods

/// <summary>
/// Returns a new <see cref="Cooldown"/> object and subscribes it to the <see cref="CooldownManager"/> it has been created with.
/// Returns a new <see cref="Cooldown"/> object and subscribes it to the <see cref="CooldownsManager"/> it has been created with.
/// <para> When you call the <see cref="Update()"/>, it updates all the cooldowns you created with <see cref="NewCooldown(float)"/> at once </para>
/// </summary>
/// <param name="duration"> The default duration you want the <see cref="Cooldown"/> object to have.</param>
Expand Down

0 comments on commit bed08c0

Please sign in to comment.