i have been following this tutorial. However when i try and run it i get these errors:
I cannot see why i am getting them..
1>------ Build started: Project: Ninja Wars, Configuration: Debug Win32 ------
1> Playstate.cpp
1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\playstate.cpp(8): error C2259: 'PlayState' : cannot instantiate abstract class
1> due to following members:
1> 'void GameState::Cleanup(void)' : is abstract
1> c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\gamestate.h(10) : see declaration of 'GameState::Cleanup'
1> PauseState.cpp
1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\pausestate.cpp(7): error C2259: 'PauseState' : cannot instantiate abstract class
1> due to following members:
1> 'void GameState::Cleanup(void)' : is abstract
1> c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\gamestate.h(10) : see declaration of 'GameState::Cleanup'
1> MenuState.cpp
1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\menustate.cpp(8): error C2259: 'MenuState' : cannot instantiate abstract class
1> due to following members:
1> 'void GameState::Cleanup(void)' : is abstract
1> c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\gamestate.h(10) : see declaration of 'GameState::Cleanup'
1> Game.cpp
1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\game.cpp(46): error C2039: 'Clean' : is not a member of 'GameState'
1> c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\gamestate.h(7) : see declaration of 'GameState'
1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\game.cpp(77): error C2039: 'Clean' : is not a member of 'GameState'
1> c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\gamestate.h(7) : see declaration of 'GameState'
1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\game.cpp(113): error C2039: 'Clean' : is not a member of 'GameState'
1> c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\gamestate.h(7) : see declaration of 'GameState'
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========