/// Called every time the application logic update runs.
/// </summary>
protectedvirtualvoidOnUpdate(){}
protectedvirtualvoidOnUpdate(floatdelta){}
/// <summary>
/// Removes a layer from the layer stack.
@ -493,19 +544,19 @@ namespace DotSDL.Graphics {
/// <summary>
/// Displays the window and begins executing code that's associated with it.
/// </summary>
/// <param name="updateRate">The desired number of milliseconds between frames and game logic updates. 0 causes the display and game to be continuously updated.</param>
publicvoidStart(uintupdateRate){
/// <param name="updateRate">The desired number of video and game logic updates per second. 0 causes the display and game to be updated as quickly as possible.</param>
publicvoidStart(floatupdateRate){
Start(updateRate,updateRate);
}
/// <summary>
/// Displays the window and begins executing code that's associated with it.
/// </summary>
/// <param name="drawRate">The desired number of milliseconds between draw calls. 0 causes the display to be continuously updated.</param>
/// <param name="updateRate">The desired number of milliseconds between game logic updates. 0 causes the game to be continuously updated.</param>
publicvoidStart(uintdrawRate,uintupdateRate){
VideoUpdateTicks=drawRate;
GameUpdateTicks=updateRate;
/// <param name="drawRate">The desired number of draw calls per second. 0 causes the display to be updated as quickly as possible.</param>
/// <param name="updateRate">The desired number of game logic updates per second. 0 causes the game to be updated as quickly as possible.</param>