Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //In Lightning Sprite.cpp//
- void WSL::Components::Lightning_Sprite::Draw( sf::RenderWindow *window )
- {
- Animate();
- //The next line is line 159.//
- window->Draw( t );
- }
- //The error.//
- 1>Lightning Sprite.cpp
- 1>c:\users\aperson\desktop\my folders\projects\computer programming\multi langual\balloon tdf source\white-storm lightning\white-storm lightning\lightning sprite.cpp(159) : error C2027: use of undefined type 'sf::RenderWindow'
- 1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\sfml\graphics\image.hpp(40) : see declaration of 'sf::RenderWindow'
- 1>c:\users\aperson\desktop\my folders\projects\computer programming\multi langual\balloon tdf source\white-storm lightning\white-storm lightning\lightning sprite.cpp(159) : error C2227: left of '->Draw' must point to class/struct/union/generic type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement