Made Background::Draw receive const scene pointer
Former-commit-id: 2b84f8ea924714d81046f3dd29990939586e7622
This commit is contained in:
@@ -10,13 +10,15 @@
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Graphics/Enums.hpp>
|
||||
|
||||
class NzScene;
|
||||
|
||||
class NAZARA_API NzBackground
|
||||
{
|
||||
public:
|
||||
NzBackground() = default;
|
||||
~NzBackground();
|
||||
|
||||
virtual void Draw() const = 0;
|
||||
virtual void Draw(const NzScene* scene) const = 0;
|
||||
|
||||
virtual nzBackgroundType GetBackgroundType() const = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user