Elin Modding Docs Doc
Loading...
Searching...
No Matches
Fov Class Reference
Inheritance diagram for Fov:
EClass

Classes

struct  LevelPoint
 

Public Member Functions

void SetVisible (int x, int y)
 
void ClearVisible ()
 
List< PointListPoints ()
 
void Perform (int _x, int _z, int _range, float power=1f)
 

Static Public Member Functions

static float DistanceFloat (int x1, int y1, int x2, int y2)
 
static int Distance (int x1, int y1, int x2, int y2)
 
- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 

Public Attributes

byte r
 
byte g
 
byte b
 
bool isPC
 
bool limitGradient
 
Dictionary< int, byte > lastPoints = new Dictionary<int, byte>()
 

Static Public Attributes

static float nonGradientMod
 
static List< CellnewPoints = new List<Cell>()
 
static Map map
 
static Fov.LevelPoint origin = default(Fov.LevelPoint)
 
static int range
 
static float _power
 
- Static Public Attributes inherited from EClass
static Core core
 

Additional Inherited Members

- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Detailed Description

Definition at line 6 of file Fov.cs.

Member Function Documentation

◆ ClearVisible()

void Fov.ClearVisible ( )

Definition at line 64 of file Fov.cs.

◆ Distance()

static int Fov.Distance ( int x1,
int y1,
int x2,
int y2 )
static

Definition at line 110 of file Fov.cs.

◆ DistanceFloat()

static float Fov.DistanceFloat ( int x1,
int y1,
int x2,
int y2 )
static

Definition at line 104 of file Fov.cs.

◆ ListPoints()

List< Point > Fov.ListPoints ( )

Definition at line 87 of file Fov.cs.

◆ Perform()

void Fov.Perform ( int _x,
int _z,
int _range,
float power = 1f )

Definition at line 116 of file Fov.cs.

◆ SetVisible()

void Fov.SetVisible ( int x,
int y )

Definition at line 9 of file Fov.cs.

Member Data Documentation

◆ _power

float Fov._power
static

Definition at line 264 of file Fov.cs.

◆ b

byte Fov.b

Definition at line 273 of file Fov.cs.

◆ g

byte Fov.g

Definition at line 270 of file Fov.cs.

◆ isPC

bool Fov.isPC

Definition at line 276 of file Fov.cs.

◆ lastPoints

Dictionary<int, byte> Fov.lastPoints = new Dictionary<int, byte>()

Definition at line 282 of file Fov.cs.

◆ limitGradient

bool Fov.limitGradient

Definition at line 279 of file Fov.cs.

◆ map

Map Fov.map
static

Definition at line 255 of file Fov.cs.

◆ newPoints

List<Cell> Fov.newPoints = new List<Cell>()
static

Definition at line 252 of file Fov.cs.

◆ nonGradientMod

float Fov.nonGradientMod
static

Definition at line 249 of file Fov.cs.

◆ origin

Fov.LevelPoint Fov.origin = default(Fov.LevelPoint)
static

Definition at line 258 of file Fov.cs.

◆ r

byte Fov.r

Definition at line 267 of file Fov.cs.

◆ range

int Fov.range
static

Definition at line 261 of file Fov.cs.


The documentation for this class was generated from the following file: