public GameState(Map map, SpriteBatch sb, GraphicsDeviceManager graphics) { _spriteBatch = sb; _graphics = graphics; cameraPosition = new Vector2(0, -480); _map = map; _player = new Player(_map); _projectiles = new List<Projectile>(); _enemies = new List<Enemy>(); _enemies.Add( new Zombie( new Vector2(2,2) ) ); }
public virtual void OnPlayerCollide(Player p) { }