Flappy Bird SFML C++ tutorial

  • Cickoo
    Likes 0

    Problem Description

    Hello

    i have a problem with flappy bird  whit this part of code _data->machine.AddState(StateRef(new SplashState(this->_data)));  i get this i m using visual studio

    Severity Code Description Project File Line Suppression State
    Error C2259 'SplashState': cannot instantiate abstract class SPA_PONG_PROJEKT C:\Users\38598\Desktop\PROJEKT SPA!\SPA_PONG_PROJEKT\SPA_PONG_PROJEKT\Game.cpp 9
    Severity Code Description Project File Line Suppression State
    Error (active) E0322 object of abstract class type "SplashState" is not allowed: SPA_PONG_PROJEKT C:\Users\38598\Desktop\PROJEKT SPA!\SPA_PONG_PROJEKT\SPA_PONG_PROJEKT\Game.cpp 9
     
  • Sonar Systems admin
    Likes 0

    Have you tried the code from the GitHub page?

Login to reply