diff --git a/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs b/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs index dfc797c2f90ab87607ac90e2f58f1a99e70f2b47..f19870ede3fa73fcfbe58607883c12c150e678e4 100644 --- a/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs +++ b/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs @@ -19,22 +19,22 @@ namespace BigSock { /* The name of the ability. */ - public string Name { get; set; } + public abstract string Name { get;} /* The description of the ability. */ - public string Description { get; set; } + public abstract string Description { get; } /* The id of the ability. */ - public ulong Id { get; set; } + public abstract ulong Id { get; } /* The next time the ability has cooled down. */ - public DateTime NextTimeCanUse { get; set; } = DateTime.Now; + public DateTime NextTimeCanUse { get; protected set; } = DateTime.Now; /* Whether the ability is ready. diff --git a/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAttack.cs b/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAttack.cs index 99de155333fa836e121ffba90869c49a53a354b1..a0c6b44b35538b5b559b2f5edfab75d9361d5769 100644 --- a/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAttack.cs +++ b/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAttack.cs @@ -15,7 +15,7 @@ namespace BigSock { /* The attack stats of the ability. */ - public IAttackStats AttackStats { get; set; } + public IAttackStats AttackStats { get; protected set; } }