Added interfaces

Former-commit-id: dfe596f28917dd5358e0bb87269fcfd4efa74f1c
This commit is contained in:
Lynix 2013-03-02 01:03:20 +01:00
parent f53f556e58
commit a20818d66b
2 changed files with 36 additions and 0 deletions

View File

@ -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

View File

@ -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