using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace CarFire { class Game : IDeterministicGame { #region IDeterministicGame Members public void LoadContent(ContentManager contentManager) { } public void UnloadContent() { } public Vector2 PreferredScreenSize { get { return new Vector2(800, 600); } } public int MinimumSupportedPlayers { get { return 1; } } public int MaximumSupportedPlayers { get { return 4; } } public void ResetGame(object[] playerIdentifiers, object thisPlayer) { } public long CurrentFrameNumber { get { return 0; } } public long CurrentChecksum { get { return 0; } } public void ApplyKeyInput(object playerIdentifier, Keys key, bool isKeyPressed) { } public void ApplyMouseLocationInput(object playerIdentifier, int x, int y) { } public void ApplyMouseButtonInput(object playerIdentifier, bool isButtonPressed) { } public bool IsGameOver(object playerIdentifier) { return true; } public bool IsTerminated(object playerIdentifier) { return true; } public long Update(TimeSpan timespan) { return CurrentFrameNumber; } public long Draw(SpriteBatch spriteBatch) { return CurrentFrameNumber; } #endregion } }