1using System.Collections.Generic;
45 if (listArea.Count == 0)
53 if (
index >= listArea.Count)
57 listArea[
index].Update();
85 bool flag = pos.sourceBlock.id != 0;
87 bool flag2 = EClass._map.IsIndoor || cell.
HasRoof;
112 cell.isWatered =
true;
201 if (
index >= list.Count)
206 list[
index].Update();
235 if (
index >= charas.Count)
240 if (
chara.IsAliveInCurrentZone && !
chara.IsPC)
242 chara.FindNewEnemy();
259 for (
int i = 0; i < charas.Count; i++)
266 chara.roundTimer += gameDelta;
270 chara.roundTimer -=
chara.actTime;
276 if (i > charas.Count)
299 if (
index >= charas.Count)
304 for (
int num =
chara.conditions.Count - 1; num >= 0; num--)
306 if (num <
chara.conditions.Count)
332 if (
index >= things.Count)
337 if (
thing.fov !=
null)
339 thing.CalculateFOV();
341 if (
thing.trait.HaveUpdate)
343 thing.trait.Update();
401 bool flag = EClass.world.weather.CurrentCondition ==
Weather.
Condition.RainHeavy;
404 float mtpVolume = ((EClass._zone.lv <= -2) ? 0f : ((flag2 && !flag3) ? 0.5f : 1f));
407 for (
int i = 0; i < EClass.setting.weather.splashCount * ((!flag) ? 1 : 2); i++)
439 EClass.
Sound.Play(
"Ambience/Random/storm", mtpVolume);
501 if (Input.GetKey(KeyCode.LeftControl))
503 Debug.Log(tg.Name +
": Distance:" + hit2.Distance(tg.pos));
518 EClass.screen.tileMap.passGuideFloor.Add(p, 20f);
528 EClass.player.renderExtraTime -=
delta;
573 foreach (
Updater updater
in array)
575 text = text + updater.GetType().Name +
": " + updater.updatesPerFrame +
" / frame " + updater.maxCount +
" in " + updater.duration +
"sec \n";
SourceFloor.Row sourceSurface
static FactionBranch Branch
static BaseGameScreen screen
static SoundManager Sound
static GameSetting setting
HomeResourceManager resources
override void FixedUpdate()
override void FixedUpdate()
override void FixedUpdate()
override void FixedUpdate()
override LogicalPointManager manager
override float UpdateDuration
override void FixedUpdate()
virtual float UpdateDuration
virtual LogicalPointManager manager
override void FixedUpdate()
override void FixedUpdate()
override void FixedUpdate()
void SetUpdatesPerFrame(int _maxcount, float _duration)
virtual void FixedUpdate()
ConditionUpdater condition
FastSurfaceUpdater surfaceFast
static LayerCraft Instance
static LayerDragGrid Instance
HashSet< Point > refreshList
List< LogicalPoint > list
static bool IsVisible(Point p1, Point p2, Action< Point, bool > _onVisit=null)
void ForeachSphere(int _x, int _z, float r, Action< Point > action)
void RefreshSingleTile(int x, int z)
void SetLiquid(int x, int z, CellEffect effect=null)
void ModLiquid(int x, int z, int amount)
void TryShatter(Point pos, int ele, int power, Card CC=null)
void SetEffect(int x, int z, CellEffect effect=null)
CellEffectManager effectManager
void Add(Point point, float tile=0f, float color=0f)
void RequestPathImmediate(PathProgress progress)
static PathManager Instance
List< PathFinderNode > nodes
ref Vector3 Position(int height)
Point Set(int _x, int _z)
ref Vector3 PositionTopdown()
void ModFire(int value, bool extinguish=false)
ref Vector3 PositionCenter()
Point Clamp(bool useBounds=false)
Dictionary< string, PropSet > raceMap
static int Range(int min, int max)
ParticleSystem psRainSplashWater
ParticleSystem psRainSplash
static void Play(string id, float mtp=1f)