ProD  4.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Classes | Public Types | Public Member Functions | Public Attributes | Properties | List of all members
ProD.FogOfWar Class Reference

Inherits MonoBehaviour.

Public Types

enum  ShadowType {
  ShadowType.Rekursive, ShadowType.RaySquare, ShadowType.RayRound, ShadowType.Flood,
  ShadowType.RekursiveFlood, ShadowType.RaySquareFlood, ShadowType.RayRoundFlood
}
 

Public Member Functions

void InitFoW (Map map_)
 
void DestroyFoW ()
 
void UpdateFoW (Address playerPosition)
 

Public Attributes

float layer = 1.0f
 
int visibilityRange = 6
 
Color visible = new Color(0.0f, 0.0f, 0.0f, 0.0f)
 
Color visited = new Color(0.0f, 0.0f, 0.0f, 0.9f)
 
Color unvisited = new Color(0.0f, 0.0f, 0.0f, 1.0f)
 
ShadowType type = ShadowType.Rekursive
 
FilterMode filterMode = FilterMode.Bilinear
 
List< string > opaqueCells
 

Properties

Texture2D FogTexture [get]
 

Member Enumeration Documentation

Enumerator
Rekursive 
RaySquare 
RayRound 
Flood 
RekursiveFlood 
RaySquareFlood 
RayRoundFlood 

Member Function Documentation

void ProD.FogOfWar.DestroyFoW ( )
void ProD.FogOfWar.InitFoW ( Map  map_)
void ProD.FogOfWar.UpdateFoW ( Address  playerPosition)

Member Data Documentation

FilterMode ProD.FogOfWar.filterMode = FilterMode.Bilinear
float ProD.FogOfWar.layer = 1.0f
List<string> ProD.FogOfWar.opaqueCells
ShadowType ProD.FogOfWar.type = ShadowType.Rekursive
Color ProD.FogOfWar.unvisited = new Color(0.0f, 0.0f, 0.0f, 1.0f)
int ProD.FogOfWar.visibilityRange = 6
Color ProD.FogOfWar.visible = new Color(0.0f, 0.0f, 0.0f, 0.0f)
Color ProD.FogOfWar.visited = new Color(0.0f, 0.0f, 0.0f, 0.9f)

Property Documentation

Texture2D ProD.FogOfWar.FogTexture
get