Introduce ICallForTransport + carryall code fixes

This commit is contained in:
penev92
2015-04-28 20:59:20 +03:00
parent 070e5109f5
commit 97e150e757
3 changed files with 27 additions and 14 deletions

View File

@@ -85,4 +85,12 @@ namespace OpenRA.Mods.Common.Traits
{
IEnumerable<string> PaletteNames { get; }
}
public interface ICallForTransport
{
WRange MinimumDistance { get; }
bool WantsTransport { get; set; }
void MovementCancelled(Actor self);
void RequestTransport(CPos destination, Activity afterLandActivity);
}
}