Added interfaces
Former-commit-id: dfe596f28917dd5358e0bb87269fcfd4efa74f1c
This commit is contained in:
18
include/Nazara/2D/Drawable.hpp
Normal file
18
include/Nazara/2D/Drawable.hpp
Normal 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
|
||||
18
include/Nazara/Core/Updatable.hpp
Normal file
18
include/Nazara/Core/Updatable.hpp
Normal 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
|
||||
Reference in New Issue
Block a user