aboutsummaryrefslogtreecommitdiff
path: root/V3/Objects/IBuilding.cs
blob: 0fdd0aac34406c9d424fb51240f81783ed92f004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace V3.Objects
{
    public interface IBuilding : IGameObject
    {
        int Robustness { get; }
        string Name { get; }
        int MaxGivesWeapons { get; }

        /// <summary>
        /// Building takes specific amount of damage. Substracted from Robustness.
        /// </summary>
        /// <param name="damage">TakeDamage taken</param>
        void TakeDamage(int damage);

        /// <summary>
        /// Building can give a fixed amount of upgrades.
        /// </summary>
        void UpgradeCounter();
    }
}