Minelayer: supports specifying both mine laying and post laying delays

This commit is contained in:
michaeldgg2
2023-07-08 20:10:12 +02:00
committed by Matthias Mailänder
parent 4a02e6c6cc
commit ce6e73dc92
3 changed files with 69 additions and 7 deletions

View File

@@ -159,7 +159,12 @@ namespace OpenRA.Mods.Common.Traits
public interface INotifyDelivery { void IncomingDelivery(Actor self); void Delivered(Actor self); }
[RequireExplicitImplementation]
public interface INotifyMineLaying { void MineLaying(Actor self, CPos location); void MineLaid(Actor self, Actor mine); }
public interface INotifyMineLaying
{
void MineLaying(Actor self, CPos location);
void MineLaid(Actor self, Actor mine);
void MineLayingCanceled(Actor self, CPos location);
}
[RequireExplicitImplementation]
public interface INotifyDockHost { void Docked(Actor self, Actor client); void Undocked(Actor self, Actor client); }