Advertisement
Guest User

Untitled

a guest
Sep 7th, 2010
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include "display.hpp"
  2.  
  3. struct game {
  4.     protected:
  5.         display* Display;
  6. };
  7.  
  8.  
  9. struct monkeycard: public game {
  10.     public:
  11.         void messagebox(std::string);
  12. };
  13. void monkeycard::messagebox(std::string text) {
  14.     SDL_Surface* t= Display->render_text(text);
  15.     int z= 100;
  16.     Display->blit_image(t,z,100);
  17. }
  18.  
  19.  
  20. int main() {
  21.     return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement