Addsy

main.cpp

Apr 13th, 2015
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include "play_state.hpp"
  2. #include <stdexcept>
  3.  
  4. int main()
  5. {
  6.     try {
  7.         PlayState play_state;
  8.  
  9.         prg::application.addState("play_state", play_state);
  10.  
  11.         prg::application.run("Adam Turner", "P4261882", 1024, 768);
  12.     }
  13.     catch(std::exception& e) {
  14.         prg::logger.error(e.what());
  15.     }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment