Battle Talent  V11
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Events | List of all members
CrossLink.TileMgr Class Reference

Public Member Functions

void CalcAllBridgeLevels ()
 
void TriggerDunGenReady ()
 
void TriggerDunGenInit ()
 
void ProcessTilesByBridgeLevel (System.Action< List< DunGen.Tile >, int > tileProc, bool includeInactive=false)
 
void MoveToNextBridge ()
 
void MoveToPrevBridge ()
 
int GenRoomId ()
 
bool IsLastRoom (int bridgeId)
 
void RegisterBridgeRoom (TileBase b)
 
void UnRegisterBridgeRoom (TileBase b)
 
TileBase GetBridge (int bridgeIndex)
 
void Clear ()
 
void CullOldRoom (bool all=false, bool deleteOldRoom=false)
 
void CullNewRoom ()
 
void MoveForwardAndOpenNewRoom ()
 
void CullOthers (bool c, int currentTileId)
 
void OpenOthersInLod (bool open, int currentTileId, int lodLv)
 
void CountSpawn (Object spawnObj, int spawnOrder, int bridgeLv)
 
int GetSpawnCount (Object spawnObj, int bridgeLv)
 
void ClearBridgeSpawnCount (int bridgeLv)
 
int GetPrefabCount (List< Object > pool, Object prefab)
 
TileMap GetMapRoot ()
 
void BindHandToggleEvents ()
 
void TransformTileMap (Vector3 offset)
 
void ResizeTileMap ()
 
void ShowupMap (bool showup)
 
DunGen.Tile GetCurTile ()
 
void OnTileUpdate (DunGen.Tile newTile)
 
void TileLodSetup (DunGen.Tile curTile)
 
void ShowCurTileTitle ()
 
void AddAppearedBuff (string buff)
 
bool IsAppearedBuff (string buff)
 

Static Public Member Functions

static void SpawnWave (WaveGenerator wave)
 
static bool IsSpawnBefore (WaveGenerator wave)
 

Public Attributes

List< TileBasebridgeRooms = new List<TileBase>()
 
int currentBridge = 0
 

Static Public Attributes

static TileMgr Instance = new TileMgr()
 

Events

System.Action DunGenBuild
 
System.Action DunGenInit
 
static System.Action NextTileUpdateOneTimeEvent