Added interfaces
Former-commit-id: dfe596f28917dd5358e0bb87269fcfd4efa74f1c
This commit is contained in:
parent
f53f556e58
commit
a20818d66b
|
|
@ -0,0 +1,18 @@
|
||||||
|
// Copyright (C) 2012 Jérôme Leclercq
|
||||||
|
// This file is part of the "Nazara Engine - 2D Module"
|
||||||
|
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef NAZARA_DRAWABLE_HPP
|
||||||
|
#define NAZARA_DRAWABLE_HPP
|
||||||
|
|
||||||
|
#include <Nazara/Prerequesites.hpp>
|
||||||
|
|
||||||
|
class NAZARA_API NzDrawable
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
virtual void Draw() const = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // NAZARA_DRAWABLE_HPP
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
// Copyright (C) 2012 Jérôme Leclercq
|
||||||
|
// This file is part of the "Nazara Engine - Core Module"
|
||||||
|
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef NAZARA_UPDATABLE_HPP
|
||||||
|
#define NAZARA_UPDATABLE_HPP
|
||||||
|
|
||||||
|
#include <Nazara/Prerequesites.hpp>
|
||||||
|
|
||||||
|
class NzUpdatable
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
virtual void Update() = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // NAZARA_UPDATABLE_HPP
|
||||||
Loading…
Reference in New Issue