Add a WarnCrush method to ICrushable which is called when a crusher begins to enter the cell.
This commit is contained in:
@@ -31,7 +31,9 @@ namespace OpenRA.Mods.RA.Buildings
|
||||
this.self = self;
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
|
||||
public void WarnCrush(Actor crusher) {}
|
||||
|
||||
public bool CrushableBy(string[] crushClasses, Player crushOwner)
|
||||
{
|
||||
if (crushOwner.Stances[self.Owner] == Stance.Ally)
|
||||
|
||||
Reference in New Issue
Block a user