C# Class OpenRA.Mods.Common.Traits.FootprintUtils

Mostrar archivo Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
AdjustForBuildingSize ( BuildingInfo buildingInfo ) : CVec
CenterOffset ( World w, BuildingInfo buildingInfo ) : WVec
FrozenUnderFogTiles ( Actor a ) : IEnumerable
PathableTiles ( string name, BuildingInfo buildingInfo, CPos position ) : IEnumerable
Tiles ( Actor a ) : IEnumerable
Tiles ( Ruleset rules, string name, BuildingInfo buildingInfo, CPos topLeft, bool includePassable = false ) : IEnumerable
UnpathableTiles ( string name, BuildingInfo buildingInfo, CPos position ) : IEnumerable

Private Methods

Method Description
TilesWhere ( string name, CVec dim, char footprint, bool>.Func cond ) : IEnumerable

Method Details

AdjustForBuildingSize() public static method

public static AdjustForBuildingSize ( BuildingInfo buildingInfo ) : CVec
buildingInfo BuildingInfo
return CVec

CenterOffset() public static method

public static CenterOffset ( World w, BuildingInfo buildingInfo ) : WVec
w World
buildingInfo BuildingInfo
return WVec

FrozenUnderFogTiles() public static method

public static FrozenUnderFogTiles ( Actor a ) : IEnumerable
a Actor
return IEnumerable

PathableTiles() public static method

public static PathableTiles ( string name, BuildingInfo buildingInfo, CPos position ) : IEnumerable
name string
buildingInfo BuildingInfo
position CPos
return IEnumerable

Tiles() public static method

public static Tiles ( Actor a ) : IEnumerable
a Actor
return IEnumerable

Tiles() public static method

public static Tiles ( Ruleset rules, string name, BuildingInfo buildingInfo, CPos topLeft, bool includePassable = false ) : IEnumerable
rules Ruleset
name string
buildingInfo BuildingInfo
topLeft CPos
includePassable bool
return IEnumerable

UnpathableTiles() public static method

public static UnpathableTiles ( string name, BuildingInfo buildingInfo, CPos position ) : IEnumerable
name string
buildingInfo BuildingInfo
position CPos
return IEnumerable