Advertisement
Ember

game

Feb 2nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.93 KB | None | 0 0
  1. /*
  2. -----------------------------------------------------------------------------
  3.     Filename: Game.cpp
  4. -----------------------------------------------------------------------------
  5. */
  6.  
  7. // Declare Once
  8. #pragma once
  9. // Includes
  10. #include "Game.hpp"
  11.  
  12. // Create ---------------------------------------------------------------------------------
  13. Void Game::Create()
  14. {
  15.     // Attach a cube
  16.     Attach("Primitives/Cube");
  17. }
  18.  
  19. // Release --------------------------------------------------------------------------------
  20. Void Game::Destroy()
  21. {
  22. }
  23.  
  24. // ----------------------------------------------------------------------------------------
  25. Void Game::Update()
  26. {
  27.     // Spin around
  28.     Orientation.Rotate(Float3(0, 0, 1), 1);
  29. }
  30.  
  31. // ----------------------------------------------------------------------------------------
  32. Void Game::Draw()
  33. {
  34. }
  35.  
  36. // ----------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement