From ced3d03bdb3ce866d832e03fb212865140905a9a Mon Sep 17 00:00:00 2001 From: Thomas Leyh Date: Sun, 24 Jul 2016 08:14:18 +0200 Subject: Add project files. --- V3/Objects/IBuilding.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 V3/Objects/IBuilding.cs (limited to 'V3/Objects/IBuilding.cs') diff --git a/V3/Objects/IBuilding.cs b/V3/Objects/IBuilding.cs new file mode 100644 index 0000000..0fdd0aa --- /dev/null +++ b/V3/Objects/IBuilding.cs @@ -0,0 +1,20 @@ +namespace V3.Objects +{ + public interface IBuilding : IGameObject + { + int Robustness { get; } + string Name { get; } + int MaxGivesWeapons { get; } + + /// + /// Building takes specific amount of damage. Substracted from Robustness. + /// + /// TakeDamage taken + void TakeDamage(int damage); + + /// + /// Building can give a fixed amount of upgrades. + /// + void UpgradeCounter(); + } +} -- cgit v1.2.1