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

◆ PlaySegment_GuideEmotingAtRainbowPanel()

SegmentInforReport Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer.PlaySegment_GuideEmotingAtRainbowPanel ( int startTime)
inlineprivate

Definition at line 343 of file CreditsRollComposer.cs.

344 {
345 Asset<Texture2D> val = TextureAssets.Extra[156];
346 DrawData data = new DrawData(val.Value, Vector2.Zero, null, Color.White, 0f, val.Size() / 2f, 0.25f, SpriteEffects.None);
348 .Then(new Actions.Sprites.Fade(0f, 60));
350 SegmentInforReport result = default(SegmentInforReport);
351 result.totalTime = (int)animationSegmentWithActions.DedicatedTimeNeeded;
352 return result;
353 }
AnimationSegmentWithActions< T > Then(IAnimationSegmentAction< T > act)
Definition Segments.cs:94

References Terraria.GameContent.Skies.CreditsRoll.CreditsRollComposer._segments, System.Collections.Generic.List< T >.Add(), Terraria.GameContent.TextureAssets.Extra, Terraria.GameContent.Animations.Segments.AnimationSegmentWithActions< T >.Then(), Microsoft.Xna.Framework.Graphics.Vector2, Microsoft.Xna.Framework.Color.White, and Microsoft.Xna.Framework.Vector2.Zero.