Elin Modding Docs Doc
Loading...
Searching...
No Matches
Crawler Class Reference
Inheritance diagram for Crawler:
EScriptable

Classes

class  Member
 
class  Result
 

Public Types

enum  MoveType { Surface , Block }
 
enum  StartType { Surface , Block }
 

Public Member Functions

bool CrawlUntil (Map map, Func< Point > onStart, int tries, Func< Crawler.Result, bool > canComplete, Action onFail=null)
 
void Crawl (Map map)
 
Crawler.Result Crawl (Map map, Point _start, Action< Point > onNewVisit=null)
 

Static Public Member Functions

static Crawler Create (string id)
 
- Static Public Member Functions inherited from EScriptable
static int rnd (int a)
 

Public Attributes

int life
 
int member
 
int radius
 
int repeat
 
bool stickToStartBiome
 
bool skipBorder
 
Crawler.StartType startType
 
Crawler.MoveType moveType
 
int Size
 
List< Crawler.Membermembers = new List<Crawler.Member>()
 

Static Public Attributes

static int[,] mapping = new int[0, 0]
 
static int sync
 

Detailed Description

Definition at line 6 of file Crawler.cs.

Member Enumeration Documentation

◆ MoveType

enum Crawler.MoveType

Definition at line 219 of file Crawler.cs.

◆ StartType

enum Crawler.StartType

Definition at line 228 of file Crawler.cs.

Member Function Documentation

◆ Crawl() [1/2]

void Crawler.Crawl ( Map map)

Definition at line 62 of file Crawler.cs.

◆ Crawl() [2/2]

Crawler.Result Crawler.Crawl ( Map map,
Point _start,
Action< Point > onNewVisit = null )

Definition at line 76 of file Crawler.cs.

◆ CrawlUntil()

bool Crawler.CrawlUntil ( Map map,
Func< Point > onStart,
int tries,
Func< Crawler.Result, bool > canComplete,
Action onFail = null )

Definition at line 9 of file Crawler.cs.

◆ Create()

static Crawler Crawler.Create ( string id)
static

Definition at line 158 of file Crawler.cs.

Member Data Documentation

◆ life

int Crawler.life

Definition at line 170 of file Crawler.cs.

◆ mapping

int [,] Crawler.mapping = new int[0, 0]
static

Definition at line 164 of file Crawler.cs.

◆ member

int Crawler.member

Definition at line 173 of file Crawler.cs.

◆ members

List<Crawler.Member> Crawler.members = new List<Crawler.Member>()

Definition at line 199 of file Crawler.cs.

◆ moveType

Crawler.MoveType Crawler.moveType

Definition at line 191 of file Crawler.cs.

◆ radius

int Crawler.radius

Definition at line 176 of file Crawler.cs.

◆ repeat

int Crawler.repeat

Definition at line 179 of file Crawler.cs.

◆ Size

int Crawler.Size

Definition at line 195 of file Crawler.cs.

◆ skipBorder

bool Crawler.skipBorder

Definition at line 185 of file Crawler.cs.

◆ startType

Crawler.StartType Crawler.startType

Definition at line 188 of file Crawler.cs.

◆ stickToStartBiome

bool Crawler.stickToStartBiome

Definition at line 182 of file Crawler.cs.

◆ sync

int Crawler.sync
static

Definition at line 167 of file Crawler.cs.


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