\r
public long Update(TimeSpan elapsedTime)\r
{\r
- // Draw() can be called multiple times between updates, so moved this here to avoid\r
- // duplicate lines.\r
- Console.WriteLine("Frame: " + state.frameNumber + " Checksum: " + state.Checksum);\r
-\r
state.advanceFrame(inputs, elapsedTime.Milliseconds); // Apply the inputs, advance game state.\r
\r
inputs = new NextInputs(); // Start with inputs cleared on the next frame.\r