Added some summaries
This commit is contained in:
parent
6a49fa1812
commit
ea2119913a
|
@ -1,10 +1,17 @@
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
namespace GameDev.CoreSystems
|
namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public interface IDamageable
|
public interface IDamageable
|
||||||
{
|
{
|
||||||
#region Methods
|
#region Methods
|
||||||
|
|
||||||
public void ModifyHealth(int healthChange);
|
/// <summary>
|
||||||
|
/// Modify the health of the damageable
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="healthChange">Amount of health change</param>
|
||||||
|
/// <param name="source">Source GameObject, used to modify stats of the source. Total kills, etc.</param>
|
||||||
|
public void ModifyHealth(int healthChange, GameObject source);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,13 @@ namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public interface IWeapon
|
public interface IWeapon
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// [s] Fire rate of the weapon
|
||||||
|
/// </summary>
|
||||||
public float FireRate { get; set; }
|
public float FireRate { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
/// Weapon damage
|
||||||
|
/// </summary>
|
||||||
public int Damage { get; set; }
|
public int Damage { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue