Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Update()

void Terraria.Graphics.Effects.SkyManager.Update ( GameTime gameTime)
inline

Definition at line 24 of file SkyManager.cs.

25 {
26 int num = Main.dayRate;
27 if (num < 1)
28 {
29 num = 1;
30 }
31 for (int i = 0; i < num; i++)
32 {
34 while (linkedListNode != null)
35 {
36 CustomSky value = linkedListNode.Value;
38 value.Update(gameTime);
39 if (!value.IsActive())
40 {
42 }
43 linkedListNode = next;
44 }
45 }
46 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
LinkedList< CustomSky > _activeSkies
Definition SkyManager.cs:13

References Terraria.Graphics.Effects.SkyManager._activeSkies, Terraria.Main.dayRate, and System.Collections.Generic.Dictionary< TKey, TValue >.Remove().