Add DamageTypes to Demolition

This commit is contained in:
Mustafa Alperen Seki
2020-10-13 19:00:05 +03:00
committed by abcdefg30
parent 54c4a05062
commit 8aeec24c9b
11 changed files with 35 additions and 21 deletions

View File

@@ -9,6 +9,7 @@
*/
#endregion
using OpenRA.Primitives;
using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
@@ -16,7 +17,7 @@ namespace OpenRA.Mods.Common.Traits
interface IBridgeSegment
{
void Repair(Actor repairer);
void Demolish(Actor saboteur);
void Demolish(Actor saboteur, BitSet<DamageType> damageTypes);
string Type { get; }
DamageState DamageState { get; }