Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Drawable.hpp
1 // Copyright (C) 2017 Jérôme Leclercq
2 // This file is part of the "Nazara Engine - Graphics module"
3 // For conditions of distribution and use, see copyright notice in Config.hpp
4 
5 #pragma once
6 
7 #ifndef NAZARA_DRAWABLE_HPP
8 #define NAZARA_DRAWABLE_HPP
9 
10 #include <Nazara/Prerequesites.hpp>
11 #include <Nazara/Graphics/Config.hpp>
12 
13 namespace Nz
14 {
15  class NAZARA_GRAPHICS_API Drawable
16  {
17  public:
18  Drawable() = default;
19  virtual ~Drawable();
20 
21  virtual void Draw() const = 0;
22  };
23 }
24 
25 #endif // NAZARA_DRAWABLE_HPP
TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Graphics class that represents something drawable for our scene.
Definition: Drawable.hpp:15