public CanViewActor ( OpenRA.Actor a ) : bool | ||
a | OpenRA.Actor | |
Результат | bool |
public bool CanViewActor(Actor a)
{
return a.CanBeViewedByPlayer(this);
}
public bool FogObscures(Actor a) { return(RenderPlayer != null && !RenderPlayer.CanViewActor(a)); }