diff --git a/Interfaces/IDamageable.cs b/Interfaces/IDamageable.cs index 67b595d..c09786d 100644 --- a/Interfaces/IDamageable.cs +++ b/Interfaces/IDamageable.cs @@ -1,10 +1,17 @@ +using UnityEngine; + namespace GameDev.CoreSystems { public interface IDamageable { #region Methods - public void ModifyHealth(int healthChange); + /// + /// Modify the health of the damageable + /// + /// Amount of health change + /// Source GameObject, used to modify stats of the source. Total kills, etc. + public void ModifyHealth(int healthChange, GameObject source); #endregion diff --git a/Interfaces/IWeapon.cs b/Interfaces/IWeapon.cs index af2aca6..0123855 100644 --- a/Interfaces/IWeapon.cs +++ b/Interfaces/IWeapon.cs @@ -2,7 +2,13 @@ namespace GameDev.CoreSystems { public interface IWeapon { + /// + /// [s] Fire rate of the weapon + /// public float FireRate { get; set; } + /// + /// Weapon damage + /// public int Damage { get; set; } } } \ No newline at end of file