Ok well Im new to the programming world and Im trying to make and Invaders type game for a class and needing some help on an error.
public class MenuBaseGameSta te : GameState
{
//a SpriteBatch and font to render the menu
SpriteBatch spriteBatch;
SpriteFont font;
//the actual menu object
protected Menu Menu = new Menu();
The bolded part is the problem.
public class MenuBaseGameSta te : GameState
{
//a SpriteBatch and font to render the menu
SpriteBatch spriteBatch;
SpriteFont font;
//the actual menu object
protected Menu Menu = new Menu();
The bolded part is the problem.
Comment