SpyToolTip - Display tooltip of disguised unit to other players, and a modified one for the local player.

This commit is contained in:
alzeih
2011-03-13 14:12:40 +13:00
parent 26f1452930
commit cf8cfdc42d
5 changed files with 98 additions and 15 deletions

View File

@@ -64,7 +64,13 @@ namespace OpenRA.Traits
public interface INotifyOtherCaptured { void OnActorCaptured(Actor self, Actor captured, Actor captor, Player oldOwner, Player newOwner); }
public interface IAcceptSpy { void OnInfiltrate(Actor self, Actor spy); }
public interface IStoreOre { int Capacity { get; }}
public interface IToolTip
{
string Name();
Player Owner();
Stance Stance();
}
public interface IDisable { bool Disabled { get; } }
public interface IExplodeModifier { bool ShouldExplode(Actor self); }
public interface INudge { void OnNudge(Actor self, Actor nudger); }