Intermediate crushable-behavior checkin; Muliple units per cell in UIM; Crushable TraitInterface; Crushable units are taken into account in pathfinding; Crashes when trying to crush a unit
This commit is contained in:
@@ -57,4 +57,12 @@ namespace OpenRa.Game.Traits
|
||||
UnitMovementType GetMovementType();
|
||||
bool CanEnterCell(int2 location);
|
||||
}
|
||||
|
||||
interface ICrushable
|
||||
{
|
||||
bool IsCrushableByFriend();
|
||||
bool IsCrushableByEnemy();
|
||||
void OnCrush(Actor crusher);
|
||||
IEnumerable<UnitMovementType>CrushableBy();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user