Elin Modding Docs Doc
Loading...
Searching...
No Matches
GenBounds Class Reference
Inheritance diagram for GenBounds:
EClass BaseMapGen GenRoom MapGen MapGenDungen MapGenRegion GenRoomBig GenRoomMonsterHouse

Public Member Functions

void SetFloor (BiomeProfile.Tile t, int x, int z)
 
void SetBlock (BiomeProfile.Tile t, int x, int z)
 
void SetFloor (int x, int z, int idMat, int idFloor, int direction=0)
 
void SetBlock (int x, int z, int idMat, int idBlock, int direction=0)
 
bool IsEmpty ()
 
List< PointListEmptyPoint ()
 
GenBounds GetBounds (int w, int h, bool ignoreBlock)
 
GenBounds GetBounds (Map map, Zone zone, int x, int y, int width, int height, int dw, int dh, bool ignoreBlock)
 
PartialMap TryAddMapPiece (MapPiece.Type type=MapPiece.Type.Any, float ruin=-1f, string tags=null, Action< PartialMap, GenBounds > onCreate=null)
 

Static Public Member Functions

static GenBounds Create (Zone z)
 
- 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

Map map
 
Zone zone
 
int Size
 
int x
 
int y
 
int width
 
int height
 
int marginPartial
 
Func< Cell, bool > FuncCheckEmpty
 

Additional Inherited Members

- Static Public Attributes inherited from EClass
static Core core
 
- 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 GenBounds.cs.

Member Function Documentation

◆ Create()

static GenBounds GenBounds.Create ( Zone z)
static

Definition at line 116 of file GenBounds.cs.

◆ GetBounds() [1/2]

GenBounds GenBounds.GetBounds ( int w,
int h,
bool ignoreBlock )

Definition at line 131 of file GenBounds.cs.

◆ GetBounds() [2/2]

GenBounds GenBounds.GetBounds ( Map map,
Zone zone,
int x,
int y,
int width,
int height,
int dw,
int dh,
bool ignoreBlock )

Definition at line 137 of file GenBounds.cs.

◆ IsEmpty()

bool GenBounds.IsEmpty ( )

Definition at line 59 of file GenBounds.cs.

◆ ListEmptyPoint()

List< Point > GenBounds.ListEmptyPoint ( )

Definition at line 88 of file GenBounds.cs.

◆ SetBlock() [1/2]

void GenBounds.SetBlock ( BiomeProfile.Tile t,
int x,
int z )

Definition at line 33 of file GenBounds.cs.

◆ SetBlock() [2/2]

void GenBounds.SetBlock ( int x,
int z,
int idMat,
int idBlock,
int direction = 0 )

Definition at line 49 of file GenBounds.cs.

◆ SetFloor() [1/2]

void GenBounds.SetFloor ( BiomeProfile.Tile t,
int x,
int z )

Definition at line 26 of file GenBounds.cs.

◆ SetFloor() [2/2]

void GenBounds.SetFloor ( int x,
int z,
int idMat,
int idFloor,
int direction = 0 )

Definition at line 40 of file GenBounds.cs.

◆ TryAddMapPiece()

PartialMap GenBounds.TryAddMapPiece ( MapPiece.Type type = MapPiece::Type::Any,
float ruin = -1f,
string tags = null,
Action< PartialMap, GenBounds > onCreate = null )

Definition at line 179 of file GenBounds.cs.

Member Data Documentation

◆ FuncCheckEmpty

Func<Cell, bool> GenBounds.FuncCheckEmpty

Definition at line 231 of file GenBounds.cs.

◆ height

int GenBounds.height

Definition at line 225 of file GenBounds.cs.

◆ map

Map GenBounds.map

Definition at line 207 of file GenBounds.cs.

◆ marginPartial

int GenBounds.marginPartial

Definition at line 228 of file GenBounds.cs.

◆ Size

int GenBounds.Size

Definition at line 213 of file GenBounds.cs.

◆ width

int GenBounds.width

Definition at line 222 of file GenBounds.cs.

◆ x

int GenBounds.x

Definition at line 216 of file GenBounds.cs.

◆ y

int GenBounds.y

Definition at line 219 of file GenBounds.cs.

◆ zone

Zone GenBounds.zone

Definition at line 210 of file GenBounds.cs.


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