50 if (frameCounter == 0)
54 if (frameCounter == 0)
63 public override void Draw(
SpriteBatch spriteBatch,
float minDepth,
float maxDepth)
140 public abstract void Update(
int frameCount);
153 float depth = this.
Depth;
169 float depth = this.
Depth;
221 return float.Epsilon;
263 public override void Update(
int frameCount)
271 if (frameOffset == 0)
332 float num =
base.Helper_GetOpacityWithAccountingForOceanWaterLine();
417 public override void Update(
int frameCount)
420 base.Update(frameCount);
471 public override void Update(
int frameCount)
494 base.Update(frameCount);
537 public override void Update(
int frameCount)
540 base.Update(frameCount);
612 public override void Update(
int frameCount)
615 base.Update(frameCount);
688 public override void Update(
int frameCount)
690 base.Update(frameCount);
760 public override void Update(
int frameCount)
763 base.Update(frameCount);
830 public override void Update(
int frameCount)
833 base.Update(frameCount);
969 public override void Update(
int frameCount)
972 base.Update(frameCount);
1094 base.Update(frameCount);
1215 base.Update(frameCount);
1229 float depth = this.
Depth;
1352 base.Update(frameCount);
1547 base.Update(frameCount);
1602 base.Update(frameCount);
1626 :
base(player, random)
1628 float depth = this.
Depth;
1633 string text =
"Images/Backgrounds/Ambience/Crimera" + text2;
1667 :
base(player, random)
1669 float depth = this.
Depth;
1674 string text =
"Images/Backgrounds/Ambience/EOS" + text2;
1723 int num = random.
Next(18, 31);
1733 int num = random.
Next(18, 31);
1772 float num = vector.
Length();
class f__AnonymousType0<< Count > j__TPar
static int Sign(double value)
override void Update(int frameCount)
override void UpdateVelocity(int frameCount)
AirBalloonSkyEntity(Player player, FastRandom random)
const int RANDOM_TILE_SPAWN_RANGE
override void Update(int frameCount)
AirshipSkyEntity(Player player, FastRandom random)
override void UpdateVelocity(int frameCount)
Vector2 _magnetAccelerations
override Color GetColor(Color backgroundColor)
Vector2 _magnetPointTarget
override void UpdateVelocity(int frameCount)
BatsGroupSkyEntity(Player player, FastRandom random)
Vector2 _velocityVsMagnet
Vector2 _positionVsMagnet
static List< AmbientSky.BatsGroupSkyEntity > CreateGroup(Player player, FastRandom random)
void SetMagnetization(Vector2 accelerations, Vector2 targetOffset)
override void Update(int frameCount)
BirdsPackSkyEntity(Player player, FastRandom random)
override void Update(int frameCount)
override void UpdateVelocity(int frameCount)
override void Update(int frameCount)
ButterfliesSkyEntity(Player player, FastRandom random)
override void UpdateVelocity(int frameCount)
override Color GetColor(Color backgroundColor)
CrimeraSkyEntity(Player player, FastRandom random)
override void UpdateVelocity(int frameCount)
const int STATE_GOOVERPLAYER
void ChasePlayerTop(int frameCount)
void BeginChasingPlayer(FastRandom random, VirtualCamera camera)
void BeginZigZag(FastRandom random, VirtualCamera camera, int direction)
void ZigzagMove(int frameCount)
EOCSkyEntity(Player player, FastRandom random)
override Color GetColor(Color backgroundColor)
EOSSkyEntity(Player player, FastRandom random)
AmbientSky.SkyEntity EndInvoke(IAsyncResult result)
IAsyncResult BeginInvoke(Player player, int seed, AsyncCallback callback, object @object)
AmbientSky.SkyEntity Invoke(Player player, int seed)
EntityFactoryMethod(object @object, IntPtr method)
float OpacityNormalizedTimeToFadeOut
override Color GetColor(Color backgroundColor)
virtual void UpdateVelocity(int frameCount)
void StartFadingOut(int currentFrameCount)
override Vector2 GetDrawPosition()
float OpacityNormalizedTimeToFadeIn
override void Update(int frameCount)
bool IsMovementDone(int frameCount)
float FinalOpacityMultiplier
void UpdateOpacity(int frameCount)
override void Draw(SpriteBatch spriteBatch, float depthScale, float minDepth, float maxDepth)
Vector2 _positionVsMagnet
override void UpdateVelocity(int frameCount)
override Color GetColor(Color backgroundColor)
Vector2 _magnetAccelerations
override void Update(int frameCount)
GastropodGroupSkyEntity(Player player, FastRandom random)
Vector2 _velocityVsMagnet
static List< AmbientSky.GastropodGroupSkyEntity > CreateGroup(Player player, FastRandom random)
void SetMagnetization(Vector2 accelerations, Vector2 targetOffset)
Vector2 _magnetPointTarget
Vector2 _magnetPointTarget
Vector2 _velocityVsMagnet
Vector2 _positionVsMagnet
HellBatsGoupSkyEntity(Player player, FastRandom random)
Vector2 _magnetAccelerations
static List< AmbientSky.HellBatsGoupSkyEntity > CreateGroup(Player player, FastRandom random)
override Color GetColor(Color backgroundColor)
float Helper_GetOpacityWithAccountingForBackgroundsOff()
override void UpdateVelocity(int frameCount)
void SetMagnetization(Vector2 accelerations, Vector2 targetOffset)
override void Update(int frameCount)
LostKiteSkyEntity(Player player, FastRandom random)
override void Update(int frameCount)
override void UpdateVelocity(int frameCount)
MeteorSkyEntity(Player player, FastRandom random)
override Color GetColor(Color backgroundColor)
NormalizedBackgroundLayerSpaceSkyEntity()
override void Update(int frameCount)
override Vector2 GetDrawPosition()
override void UpdateVelocity(int frameCount)
override void Update(int frameCount)
override Color GetColor(Color backgroundColor)
PegasusSkyEntity(Player player, FastRandom random)
PixiePosseSkyEntity(Player player, FastRandom random)
override void Update(int frameCount)
override void UpdateVelocity(int frameCount)
override void Draw(SpriteBatch spriteBatch, float depthScale, float minDepth, float maxDepth)
static List< AmbientSky.SeagullsGroupSkyEntity > CreateGroup(Player player, FastRandom random)
void SetMagnetization(Vector2 accelerations, Vector2 targetOffset)
override void Update(int frameCount)
Vector2 _positionVsMagnet
Vector2 _magnetAccelerations
override void UpdateVelocity(int frameCount)
Vector2 _velocityVsMagnet
SeagullsGroupSkyEntity(Player player, FastRandom random)
override void Draw(SpriteBatch spriteBatch, float depthScale, float minDepth, float maxDepth)
override Color GetColor(Color backgroundColor)
Vector2 _magnetPointTarget
void CommonDraw(SpriteBatch spriteBatch, float depthScale, float minDepth, float maxDepth)
Color GetColor(Color backgroundColor)
void SetPositionInWorldBasedOnScreenSpace(Vector2 actualWorldSpace)
float Helper_GetOpacityWithAccountingForOceanWaterLine()
Vector2 GetDrawPositionByDepth()
Asset< Texture2D > Texture
Vector2 GetDrawPosition()
virtual void Draw(SpriteBatch spriteBatch, float depthScale, float minDepth, float maxDepth)
void Update(int frameCount)
Rectangle SourceRectangle
SlimeBalloonGroupSkyEntity(Player player, FastRandom random)
override void UpdateVelocity(int frameCount)
void SetMagnetization(Vector2 accelerations, Vector2 targetOffset)
Vector2 _magnetAccelerations
static List< AmbientSky.SlimeBalloonGroupSkyEntity > CreateGroup(Player player, FastRandom random)
Vector2 _velocityVsMagnet
override void Update(int frameCount)
Vector2 _positionVsMagnet
Vector2 _magnetPointTarget
override void Update(int frameCount)
VultureSkyEntity(Player player, FastRandom random)
override void UpdateVelocity(int frameCount)
override Color GetColor(Color backgroundColor)
WyvernSkyEntity(Player player, FastRandom random)
override void UpdateVelocity(int frameCount)
override void Update(GameTime gameTime)
void Spawn(Player player, SkyEntityType type, int seed)
override void Draw(SpriteBatch spriteBatch, float minDepth, float maxDepth)
readonly SlotVector< AmbientSky.SkyEntity > _entities
bool AnActiveSkyConflictsWithAmbience()
override void Activate(Vector2 position, params object[] args)
override void Deactivate(params object[] args)
static Terraria.Graphics.Camera Camera
static int UnderworldLayer
static Player LocalPlayer