Ive tried removing the parametres, AND the sceneManager, yet still i get this error, which baffles me as the method is empty outside the base.Update(). Anyone who can give me pointers? Ive made the scenemanager a singleton class for experimentation purpose, not sure if that could have something to do with it? The scenemanger does contain an update method written below:
Where i get the error in my GameWorld:
protected override void Update(GameTime gameTime, MouseState mouse)
{
mySceneManager.Update(gameTime, mouse);
base.Update(gameTime);
}
The scenemangers update:
public static readonly SceneManager instance = new SceneManager();
public virtual void Update(GameTime gameTime, MouseState mouse)
{
switch (myScenes)
{
case MyScenes.MainMenu:
myMenuScene.Update(gameTime, mouse);
break;
case MyScenes.Characters:
myCharacterScene.Update(gameTime, mouse);
break;
case MyScenes.DesignPlaystyle:
myTalentsScene.Update(gameTime, mouse);
break;
case MyScenes.Playing:
ourPlayer.Update(gameTime);
//testFireball.Update(gameTime);
break;
case MyScenes.Talents:
//MouseState mouse = new MouseState();
myTalentsScene.Update(gameTime, mouse);
break;
}
base.Update(gameTime);
}
Litterally just this “GameWorld.Update(GameTime, MouseState)’: no suitable method found to override” and ive had it before, it should be a fairly simple error to correct, but what usually causes is doesnt seem to be the case this time.
No, i even tried removing EVERYTHING from my GameWorld.Update even its parametres only keeping the Update() and teh base.Update(). Which makes it really hard to locate the problem as it seems to be something with my GameWorld i would guess and not the classes used by it, or am i missing something?