demo_level_background.hpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* License Notice:
  2. **
  3. ** This program is free software: you can redistribute it and/or modify
  4. ** it under the terms of the GNU General Public License as published by
  5. ** the Free Software Foundation, either version 3 of the License, or
  6. ** (at your option) any later version.
  7. ** This program is distributed in the hope that it will be useful,
  8. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. ** GNU General Public License for more details.
  11. ** You should have received a copy of the GNU General Public License
  12. ** along with this program. If not, see <https://www.gnu.org/licenses/>.
  13. */
  14. /**
  15. * @file demo_level_background.hpp
  16. * @author TooOld2Rock'nRoll
  17. * @date 2023/12/07
  18. * @remark Last modified in 2024/fed
  19. * @brief Background for the ArcadeFighter demonstration level.
  20. */
  21. #ifndef _DEMO_LEVEL_BACKGROUND_HPP_
  22. #define _DEMO_LEVEL_BACKGROUND_HPP_
  23. /*---- Includes ----*/
  24. #include "scenery.hpp"
  25. /*---- Typedefs ----*/
  26. /*---- Macros ----*/
  27. /*---- Class Declaration ----*/
  28. /**
  29. * @brief A example of how a background could be implemented extending the Scenery class.
  30. * @extends Scenery
  31. */
  32. class DemoLevelBackground : public Scenery
  33. {
  34. private:
  35. protected:
  36. public:
  37. DemoLevelBackground (DomainID_t domain_id, Shader *sh);
  38. void load () override;
  39. void init () override;
  40. void update (double delta_t) override;
  41. };//END DemoLevelBackground
  42. #endif //_DEMO_LEVEL_BACKGROUND_HPP_