ive been stuck for 2 days and i cant figure it out
~
NORMAL GameScreen.cpp unix │ utf-8 │ cpp 70% LN 19:20
"GameScreen.cpp" 27L, 408C written
1 #include "GameScreen.h"
2
3 GameScreen::GameScreen(){
4 //ctor
5 }
6
7 GameScreen::~GameScreen(){
8 //dtor
9 }
10
11 void GameScreen::loadContent(){
12
13 }//end of loadContent()
14
15 void GameScreen::unloadContent(){
16
17 }//end of unloadContent()
18 ..
>> 19 void GameScreen::update(sf::Event event){
20
21 }//end of update()
22
23 void GameScreen::draw(sf::RenderWindow &window){
24
25 }//end of draw(sf::RenderWindow &window)
~
NORMAL GameScreen.cpp unix │ utf-8 │ cpp 70% LN 19:20
"GameScreen.cpp" 27L, 408C written
1 #include "GameScreen.h"
2
3 GameScreen::GameScreen(){
4 //ctor
5 }
6
7 GameScreen::~GameScreen(){
8 //dtor
9 }
10
11 void GameScreen::loadContent(){
12
13 }//end of loadContent()
14
15 void GameScreen::unloadContent(){
16
17 }//end of unloadContent()
18 ..
>> 19 void GameScreen::update(sf::Event event){
20
21 }//end of update()
22
23 void GameScreen::draw(sf::RenderWindow &window){
24
25 }//end of draw(sf::RenderWindow &window)
error prototype for void GameScreen::update(sf::Event) doesnt match any in class GameScreen. candidate is virtual void update()