#undef SINGLE_TEST
// Define INGAME_ZOOM to allow zooming in and out with
// the PageUp and PageDown keys.
#define INGAME_ZOOM
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
{
///
/// This class is responsible for controlling what draws to the screen when the game is running.
///
public class Display
{
bool playerChosen = false;
List mProjectiles = new List();
//List mCharacters = new List();
IPlayer[] mCharacters = new IPlayer[4];
Texture2D everything;
Texture2D projectile1;
Map mMap;
int currentCenterX = 5;
int currentCenterY = 5;
#if SINGLE_TEST
List mLastPressedKeys = new List();
#endif
public Display()
{
/*
mMap = aMap;
mCharacters = characters;
*/
}
///
/// LoadContent will be called once per game and is the place to load
/// all of your content.
///
public void LoadContent(ContentManager contentManager)
{
everything = contentManager.Load("cs");
projectile1 = contentManager.Load("projectile");
mMap = contentManager.Load