Update ICustomMovementLayer to not depend on actor for costs.
No implementations require the actor.
This commit is contained in:
committed by
Paul Chote
parent
6f3b4ecae9
commit
3a020e96fe
@@ -403,9 +403,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
bool InteractsWithDefaultLayer { get; }
|
||||
bool ReturnToGroundLayerOnIdle { get; }
|
||||
|
||||
bool EnabledForActor(ActorInfo a, LocomotorInfo li);
|
||||
int EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell);
|
||||
int ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell);
|
||||
bool EnabledForLocomotor(LocomotorInfo li);
|
||||
int EntryMovementCost(LocomotorInfo li, CPos cell);
|
||||
int ExitMovementCost(LocomotorInfo li, CPos cell);
|
||||
|
||||
byte GetTerrainIndex(CPos cell);
|
||||
WPos CenterOfCell(CPos cell);
|
||||
|
||||
Reference in New Issue
Block a user