C# Class OpenRA.Traits.Shroud

Datei anzeigen Open project: OpenRA/OpenRA Class Usage Examples

Public Methods

Method Description
AddProjectedShroudGeneration ( Actor a, PPos shrouded ) : void
AddProjectedVisibility ( Actor a, PPos visible ) : void
Contains ( PPos uv ) : bool
Explore ( Shroud s ) : void
ExploreAll ( ) : void
ExploreProjectedCells ( World world, IEnumerable cells ) : void
IsExplored ( CPos cell ) : bool
IsExplored ( MPos uv ) : bool
IsExplored ( PPos puv ) : bool
IsExplored ( WPos pos ) : bool
IsVisible ( CPos cell ) : bool
IsVisible ( MPos uv ) : bool
IsVisible ( PPos puv ) : bool
IsVisible ( WPos pos ) : bool
ProjectedCellsInRange ( Map map, CPos cell, WDist range ) : IEnumerable
ProjectedCellsInRange ( Map map, WPos pos, WDist range ) : IEnumerable
RemoveShroudGeneration ( Actor a ) : void
RemoveVisibility ( Actor a ) : void
ResetExploration ( ) : void
Shroud ( Actor self, ShroudInfo info ) : System
UpdatePlayerStance ( World w, Player player, Stance oldStance, Stance newStance ) : void

Private Methods

Method Description
INotifyCreated ( Actor self ) : void
Invalidate ( IEnumerable changed ) : void

Method Details

AddProjectedShroudGeneration() public method

public AddProjectedShroudGeneration ( Actor a, PPos shrouded ) : void
a Actor
shrouded PPos
return void

AddProjectedVisibility() public method

public AddProjectedVisibility ( Actor a, PPos visible ) : void
a Actor
visible PPos
return void

Contains() public method

public Contains ( PPos uv ) : bool
uv PPos
return bool

Explore() public method

public Explore ( Shroud s ) : void
s Shroud
return void

ExploreAll() public method

public ExploreAll ( ) : void
return void

ExploreProjectedCells() public method

public ExploreProjectedCells ( World world, IEnumerable cells ) : void
world World
cells IEnumerable
return void

IsExplored() public method

public IsExplored ( CPos cell ) : bool
cell CPos
return bool

IsExplored() public method

public IsExplored ( MPos uv ) : bool
uv MPos
return bool

IsExplored() public method

public IsExplored ( PPos puv ) : bool
puv PPos
return bool

IsExplored() public method

public IsExplored ( WPos pos ) : bool
pos WPos
return bool

IsVisible() public method

public IsVisible ( CPos cell ) : bool
cell CPos
return bool

IsVisible() public method

public IsVisible ( MPos uv ) : bool
uv MPos
return bool

IsVisible() public method

public IsVisible ( PPos puv ) : bool
puv PPos
return bool

IsVisible() public method

public IsVisible ( WPos pos ) : bool
pos WPos
return bool

ProjectedCellsInRange() public static method

public static ProjectedCellsInRange ( Map map, CPos cell, WDist range ) : IEnumerable
map Map
cell CPos
range WDist
return IEnumerable

ProjectedCellsInRange() public static method

public static ProjectedCellsInRange ( Map map, WPos pos, WDist range ) : IEnumerable
map Map
pos WPos
range WDist
return IEnumerable

RemoveShroudGeneration() public method

public RemoveShroudGeneration ( Actor a ) : void
a Actor
return void

RemoveVisibility() public method

public RemoveVisibility ( Actor a ) : void
a Actor
return void

ResetExploration() public method

public ResetExploration ( ) : void
return void

Shroud() public method

public Shroud ( Actor self, ShroudInfo info ) : System
self Actor
info ShroudInfo
return System

UpdatePlayerStance() public method

public UpdatePlayerStance ( World w, Player player, Stance oldStance, Stance newStance ) : void
w World
player Player
oldStance Stance
newStance Stance
return void