Created
October 3, 2014 15:54
-
-
Save LaylBongers/d835526aa46f1a5fae82 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using WarpEngine; | |
| namespace Warpcore | |
| { | |
| public sealed class Client : Game | |
| { | |
| public Client() | |
| { | |
| Loops.Add(new Loop(Update, TimeSpan.FromSeconds(1.0/100.0))); | |
| // In practice we'll render at the VSync FPS, but this sets a nice just in case minimum | |
| Loops.Add(new Loop(Render, TimeSpan.FromSeconds(1.0/1000.0))); | |
| } | |
| private void Update(TimeSpan delta) | |
| { | |
| } | |
| private void Render(TimeSpan delta) | |
| { | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment