Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "Application.h"
  4. #include "Renderer2D.h"
  5.  
  6. enum Samples {
  7. technique1 = 0,
  8. technique2,
  9. technique3,
  10. technique4,
  11. };
  12.  
  13.  
  14. class RandomApp : public aie::Application {
  15. public:
  16.  
  17. RandomApp();
  18. virtual ~RandomApp();
  19.  
  20. virtual bool startup();
  21. virtual void shutdown();
  22.  
  23. virtual void update(float deltaTime);
  24. virtual void draw();
  25.  
  26. void fillGalaxy();
  27. int starAt(int galaxy, int x, int y);
  28. int starAt2(int galaxy, int x, int y);
  29. int starAt3(int galaxy, int x, int y);
  30.  
  31. protected:
  32.  
  33. aie::Renderer2D* m_2dRenderer;
  34. aie::Font* m_font;
  35.  
  36. int m_seed;
  37. Samples m_sample;
  38.  
  39. char* m_galaxy;
  40. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement