From acc7297f33db2c8cbce8d448afba7fad17eeafaf Mon Sep 17 00:00:00 2001 From: Ny Bruker <robinhs@stud.ntnu.no> Date: Sun, 2 Oct 2022 16:23:37 +0200 Subject: [PATCH] Misc tweaks. --- MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs | 8 ++++---- MrBigsock/Assets/Code/Core/Abilities/Base/BaseAttack.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs b/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs index dfc797c2..f19870ed 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 99de1553..a0c6b44b 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; } } -- GitLab