Candide.Scenes.Intro.IntroScene
Type JSONpublic class in Candide.Scenes.Intro
Type metadata
- Assembly
Romestead - Namespace
Candide.Scenes.Intro - Base type
Candide.Scene.GameScene - Hash
32D78BA0A3D74F2AAA06121CC42CF82ABE7460C330B782602E99C33BB1BFB1EA
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
DisplayFont# | private | private System.Int32 DisplayFont |
TextFont# | private | private System.Int32 TextFont |
_animationTimer# | private | private System.Single _animationTimer |
_baseAnimationTime# | private | private System.Single _baseAnimationTime |
_bobTimer# | private | private System.Single _bobTimer |
_currentScene# | private | private System.Int32 _currentScene |
_paused# | private | private System.Boolean _paused |
_sceneLayers# | private | private System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<IntroScene.IntroLayer>> _sceneLayers |
_sceneTexts# | private | private System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<IntroScene.IntroText>> _sceneTexts |
_sceneTimer# | private | private System.Single _sceneTimer |
Properties
| Name | Visibility | Signature |
|---|---|---|
SpriteBatch# | private | private Microsoft.Xna.Framework.Graphics.SpriteBatch SpriteBatch |
Methods
Draw
#
public System.Void Draw(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
FB8E6D57026FE3B283F5AC91A431FEF5153EC47779F14D64CBA240E1386916B5 - Body hash
3D990769BB8B94CE77EA07398F5879FBEC8EBA66607199288DF51229AB48C76A - IL size3147
Referenced calls
Candide.Scene.GameScene::get_GraphicsDevice()Microsoft.Xna.Framework.Color::get_Black()Microsoft.Xna.Framework.Graphics.GraphicsDevice::Clear(Microsoft.Xna.Framework.Color)Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()System.MathF::Min(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<IntroScene.IntroLayer>>::get_Item(!0)Candide.Scenes.Intro.IntroScene::get_SpriteBatch()Microsoft.Xna.Framework.Graphics.SpriteBatch::Begin(Microsoft.Xna.Framework.Graphics.SpriteSortMode, Microsoft.Xna.Framework.Graphics.BlendState, Microsoft.Xna.Framework.Graphics.SamplerState, Microsoft.Xna.Framework.Graphics.DepthStencilState, Microsoft.Xna.Framework.Graphics.RasterizerState, Microsoft.Xna.Framework.Graphics.Effect, System.Nullable<Microsoft.Xna.Framework.Matrix>)System.Collections.Generic.List<IntroScene.IntroLayer>::GetEnumerator()List.Enumerator<IntroScene.IntroLayer>::get_Current()Microsoft.Xna.Framework.Graphics.Texture2D::get_Width()Microsoft.Xna.Framework.Graphics.Texture2D::get_Height()Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)Microsoft.Xna.Framework.Vector4::get_One()Microsoft.Xna.Framework.Vector2::get_Zero()System.MathF::Sin(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::QuadIn(System.Single)System.Math::Abs(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::Limit0To1(System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::SineInOut(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::CubeIn(System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::QuadOut(System.Single)System.MathF::Cos(System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)System.Nullable<Microsoft.Xna.Framework.Rectangle>::.ctor(!0)
Initialize
#
public System.Void Initialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C28EC5A57BAAF6CFDF853BF6B473B61EA25AF42E29AF7A3A0DDCDCFBAF6FC49E - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
LoadContent
#
public System.Void LoadContent()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
94CE3E9B0EA36BBB28E7140CF6F6048F31E2F752516E7C5E360387E19B8A0109 - Body hash
3704FD307D9E671A50E0AA730E5E5B33D3B9E571AA130D4779FC8A764C088C1A - IL size58
Referenced calls
Candide.Scenes.Intro.IntroScene::LoadScene1(System.String, System.Int32, System.Single)Candide.Scenes.Intro.IntroScene::LoadScene2(System.String)Candide.Scenes.Intro.IntroScene::LoadScene3(System.String)Candide.Scenes.Intro.IntroScene::LoadScene4(System.String)Candide.Scenes.Intro.IntroScene::SetupTexts()
String literals
media/pictures/intros/scene 1media/pictures/intros/scene 2media/pictures/intros/scene 3media/pictures/intros/scene 4
LoadScene1
#
public System.Void LoadScene1(System.String path, System.Int32 numberedLayers, System.Single depthMax)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
C314649D44F3B8CC6B47A8CC0D5AF1C5C706F53BCBB8E73B0448CF33A780B2E9 - Body hash
22FFB7720C59BCAD86D4E6A891E5468A79BBD24121B105139672CD421304C4AE - IL size582
Referenced calls
System.Collections.Generic.List<IntroScene.IntroLayer>::.ctor()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Content::Texture(System.String)System.Collections.Generic.List<IntroScene.IntroLayer>::Add(!0)System.String::Concat(System.String, System.String)CandideCreator.Shared.Helpers.CandideMathHelper::From1To0Between(System.Single, System.Single, System.Single)IntroScene.<>c::<LoadScene1>b__17_0(IntroScene.IntroLayer)System.Func<IntroScene.IntroLayer, System.Single>::.ctor(System.Object, System.IntPtr)System.Linq.Enumerable::OrderByDescending(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, !!1>)System.Linq.Enumerable::ToList(System.Collections.Generic.IEnumerable<!!0>)System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<IntroScene.IntroLayer>>::set_Item(!0, !1)
String literals
//8/bunting1/bunting2/people1/people2/people3
LoadScene2
#
public System.Void LoadScene2(System.String path)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DA83163A07B446B1E1FF97A29C76B4714C9732722EBCC11E0DEDABBFF5A9EAB9 - Body hash
20C9CF4D2B2A0392D3D90747FD1D35C595ADCF74B34F43246D4D73E7AFB7BF8C - IL size849
Referenced calls
System.Collections.Generic.List<IntroScene.IntroLayer>::.ctor()CandideCreator.Shared.Helpers.CandideMathHelper::From1To0Between(System.Single, System.Single, System.Single)System.String::Concat(System.String, System.String)CandideCreator.Shared.Content::Texture(System.String)System.Collections.Generic.List<IntroScene.IntroLayer>::Add(!0)IntroScene.<>c::<LoadScene2>b__18_0(IntroScene.IntroLayer)System.Func<IntroScene.IntroLayer, System.Single>::.ctor(System.Object, System.IntPtr)System.Linq.Enumerable::OrderByDescending(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, !!1>)System.Linq.Enumerable::ToList(System.Collections.Generic.IEnumerable<!!0>)System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<IntroScene.IntroLayer>>::set_Item(!0, !1)
String literals
/1-sky/2-rear_buildings/3-smoke_1/4-ground/5-temple/6-pillars/7-smoke_2/8-building_1/9-building_2/10-building_3/11-building_4
LoadScene3
#
public System.Void LoadScene3(System.String path)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8C54FA1CCA3A0A4AFA7A95B10CCD7A63BECFE12D750837C3154A3CED856F1416 - Body hash
AC0B64DB8FF10CC630B89F5F5C59474C0A8F343BE542D65E86C3D0C9179F270D - IL size944
Referenced calls
System.Collections.Generic.List<IntroScene.IntroLayer>::.ctor()System.String::Concat(System.String, System.String)CandideCreator.Shared.Content::Texture(System.String)System.Collections.Generic.List<IntroScene.IntroLayer>::Add(!0)CandideCreator.Shared.Helpers.CandideMathHelper::From1To0Between(System.Single, System.Single, System.Single)IntroScene.<>c::<LoadScene3>b__19_0(IntroScene.IntroLayer)System.Func<IntroScene.IntroLayer, System.Single>::.ctor(System.Object, System.IntPtr)System.Linq.Enumerable::OrderByDescending(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, !!1>)System.Linq.Enumerable::ToList(System.Collections.Generic.IEnumerable<!!0>)System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<IntroScene.IntroLayer>>::set_Item(!0, !1)
String literals
/bg/bg_path2/bgpillars/trees/pillars/bg_path/bushes/zombies1/fog2/zombies2/zombies3/zombies4/fog
LoadScene4
#
public System.Void LoadScene4(System.String path)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
59514D8CB19B2218EB8512137D1EE0048B547EDE063CD4CF452E24CAAD980439 - Body hash
629D9559CF18CA102E5B439D8B8EB12783D96BA7E9BB32CA0A2FE1BE6EB2F296 - IL size562
Referenced calls
System.Collections.Generic.List<IntroScene.IntroLayer>::.ctor()CandideCreator.Shared.Helpers.CandideMathHelper::From1To0Between(System.Single, System.Single, System.Single)System.String::Concat(System.String, System.String)CandideCreator.Shared.Content::Texture(System.String)System.Collections.Generic.List<IntroScene.IntroLayer>::Add(!0)IntroScene.<>c::<LoadScene4>b__20_0(IntroScene.IntroLayer)System.Func<IntroScene.IntroLayer, System.Single>::.ctor(System.Object, System.IntPtr)System.Linq.Enumerable::OrderByDescending(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, !!1>)System.Linq.Enumerable::ToList(System.Collections.Generic.IEnumerable<!!0>)System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<IntroScene.IntroLayer>>::set_Item(!0, !1)
String literals
/scene4_bg/scene4_sky/scene4_hills1/scene4_hills2/scene4_foreground/scene4_person1/scene4_person2
OnSceneActivated
#
public System.Void OnSceneActivated()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
FE5C5DD54761AC838A779A0AB7D2347382860E5DAAAAC6D972077A881526A8DA - Body hash
3B89FA0F167DD12FC0AD3E6AAF0AD454D5F70CFD36987A03277CEC30CA7F0CF8 - IL size14
OnSceneDeactivated
#
public System.Void OnSceneDeactivated()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4D5E629E9CE87376828C15D12471FD529AD745B06D6F3CFFA412FA6E59E5D78C - Body hash
7BA67C3B0FDDAE5BA2163F5ACC8BB2788D752249EB859CEAFDB8ABD2293F581D - IL size12
SetScene
#
public System.Void SetScene(System.Int32 sceneNumber)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2C65ED6F8BA5486EF97D1732C5FEF3E498039B49B4214F1F8D817024602424F6 - Body hash
AC3741268B6146C4AABE7E38B3C1D80BE6E47D37A3507F2FB52AA8E0A1AC55D7 - IL size129
Referenced calls
Candide.Scene.GameSceneManager::SetCurrentScene()Candide.Sound.SoundPlayer::StopAllEvents()Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)
String literals
event:/music/main_menu/cinematic_intro_musicevent:/interface/cinematic intro/sfx_cinematic_introevent:/voiceovers/vx_cinematic_intro
SetupTexts
#
public System.Void SetupTexts()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
0900CC500F7394EA0F1CC3684A439C6BB29E74014F3E3C587738D7D2BACF9609 - Body hash
81BE3F6E2FF13DDDDF5A183263206E4C25DBEE3DE08DFD072BA00706C5D82D6C - IL size1123
Referenced calls
System.Collections.Generic.List<IntroScene.IntroText>::.ctor(System.Int32)System.Runtime.InteropServices.CollectionsMarshal::SetCount(System.Collections.Generic.List<!!0>, System.Int32)System.Runtime.InteropServices.CollectionsMarshal::AsSpan(System.Collections.Generic.List<!!0>)System.Span<IntroScene.IntroText>::get_Item(System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)IntroScene.IntroText::.ctor(System.Single, Microsoft.Xna.Framework.Vector2, System.Single, System.Int32, System.String)System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<IntroScene.IntroText>>::set_Item(!0, !1)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
String literals
Intro_1Intro_2Intro_3Intro_4Intro_5Intro_6Intro_7Intro_8Intro_9Intro_10Intro_11Intro_12Intro_13Intro_14Intro_15
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C7C7A8F264C2880EBC7B13E7620159D440A865791445CAD91BE3DB5982DA8597 - Body hash
9DD9577BDB9A1361B1DC38B0AB15D2A58BF841151EBFE92FA6C21DF32F05583A - IL size200
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Candide.Sound.SoundPlayer::Update(System.Single, System.Single, System.Single)Candide.Input.InputManager::Update(Microsoft.Xna.Framework.GameTime)Candide.Input.InputManager::Pressed(Microsoft.Xna.Framework.Input.Keys)Candide.Input.InputManager::Pressed(Microsoft.Xna.Framework.Input.Buttons)Candide.Scene.GameSceneManager::SetCurrentScene()Candide.Scene.GameScene::get_IsActive()Candide.Input.InputManager::Down(Microsoft.Xna.Framework.Input.Keys)Microsoft.Xna.Framework.Game::Exit()Candide.Scenes.Intro.IntroScene::SetScene(System.Int32)