Candide.Minigame.Beat.BeatEngine
Type JSONpublic class in Candide.Minigame.Beat
Type metadata
- Assembly
Romestead - Namespace
Candide.Minigame.Beat - Base type
System.Object - Hash
D64F30B0D44D1504403F628A4A7E00647513B311CBC9FF796272F8785CCC180D
Relationships
Base type
System.Object
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
Track# | public | public Candide.Minigame.Beat.BeatTrack Track |
_beatCount# | private | private System.Double _beatCount |
_beatsPerBar# | private | private System.Single _beatsPerBar |
_callbackCount# | private | private System.Int32 _callbackCount |
_cb# | private | private FMOD.Studio.EVENT_CALLBACK _cb |
_circleSprite# | private | private CandideCreator.Shared.Graphics.SpriteSheet _circleSprite |
_currentBps# | private | private System.Double _currentBps |
_currentPosition# | private | private System.TimeSpan _currentPosition |
_lastBeatTime# | private | private System.TimeSpan _lastBeatTime |
_timeToNextBeat# | private | private System.Double _timeToNextBeat |
Methods
Draw
#
public System.Void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E4E1B4295AC58C6AFB40A1683F2FBA5CA70C6D1B45DAADC1482B85F77C8C1FE0 - Body hash
0FBBAFD7143E756BDCEA2D5DAFBB7F7C2B97FBFF9235A82D71BFAB08267A6E22 - IL size555
Referenced calls
Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Color::.ctor(System.Single, System.Single, System.Single, System.Single)CandideCreator.Shared.Graphics.PrimitiveRenderer::DrawLine(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single)Microsoft.Xna.Framework.Color::get_Black()System.TimeSpan::get_TotalSeconds()Microsoft.Xna.Framework.Color::get_Gray()System.Collections.Generic.List<Candide.Minigame.Beat.BeatChannel>::GetEnumerator()List.Enumerator<Candide.Minigame.Beat.BeatChannel>::get_Current()CandideCreator.Shared.Graphics.SpriteSheet::DrawCentered(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Int32, Microsoft.Xna.Framework.Color)Candide.Minigame.Beat.BeatChannel::GetIndex(System.Double)Microsoft.Xna.Framework.Color::get_Red()Microsoft.Xna.Framework.Color::get_Green()Microsoft.Xna.Framework.Color::get_Blue()System.Collections.Generic.List<System.Double>::get_Item(System.Int32)System.TimeSpan::op_Subtraction(System.TimeSpan, System.TimeSpan)System.Collections.Generic.List<System.Double>::get_Count()List.Enumerator<Candide.Minigame.Beat.BeatChannel>::MoveNext()System.IDisposable::Dispose()
Play
#
public System.Void Play()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
A8FE10C321CB9ED716EC995C4C1F90E0A7BED84AD77369A776B4170FC82A7AA1 - Body hash
0A77C01AD52FD442BA8C35CCCF9181F3E423F06321B064B2DFEA04F035D2BCBC - IL size95
Referenced calls
Candide.Minigame.Beat.BeatEngine::StudioEventCallback(FMOD.Studio.EVENT_CALLBACK_TYPE, System.IntPtr, System.IntPtr)FMOD.Studio.EVENT_CALLBACK::.ctor(System.Object, System.IntPtr)
StudioEventCallback
#
public FMOD.RESULT StudioEventCallback(FMOD.Studio.EVENT_CALLBACK_TYPE type, System.IntPtr eventInstance, System.IntPtr parameters)
Method metadata
- Visibilitypublic
- Return type
FMOD.RESULT - StaticFalse
- VirtualFalse
- Hash
0B6B071804DD75737A7BCD46CBFFB4DB4E51AE4763880488B5A9273A5F6C79A3 - Body hash
69DCD65AE8466B897A4F1D84CEEEF924C4ED3BFF4D70967C9D8811AA3431FFDB - IL size129
Referenced calls
System.Runtime.InteropServices.Marshal::PtrToStructure(System.IntPtr)System.TimeSpan::FromMilliseconds(System.Double)
Called by
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
00354C1E844864AC9D48EACD4F7CD21E6D32E1C7F743BCF154807F7DD783CAA5 - Body hash
6DDE6CE5D7F603E0990BE7E8967847CCA738B62AE0305AF234D929A2B09963C5 - IL size183
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Candide.Sound.AudioEvent.AudioEvent::Update(System.Single)Candide.Sound.AudioEvent.AudioEvent::GetPlaybackPosition()System.Collections.Generic.List<Candide.Minigame.Beat.BeatChannel>::GetEnumerator()List.Enumerator<Candide.Minigame.Beat.BeatChannel>::get_Current()System.TimeSpan::op_Subtraction(System.TimeSpan, System.TimeSpan)Candide.Minigame.Beat.BeatChannel::SetIsActive(System.Double, System.Double)List.Enumerator<Candide.Minigame.Beat.BeatChannel>::MoveNext()System.IDisposable::Dispose()