Files
NazaraEngine/SDK/include/NDK/State.hpp
Ardakaniz 676e76e494 Sdk/State: Fix State link error
Former-commit-id: 09c6bbaba4661aed630602dfe016bfd2f475031b [formerly 7ee629153c4539e7dd8eb64d584baf73f6c51293]
Former-commit-id: 38ef96c34e23453ad15c8ac43034f46be5cc4d12
2016-07-27 20:33:42 +02:00

28 lines
574 B
C++

// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
#pragma once
#ifndef NDK_STATE_HPP
#define NDK_STATE_HPP
#include <NDK/Prerequesites.hpp>
namespace Ndk
{
class StateMachine;
class NDK_API State
{
public:
State() = default;
virtual ~State();
virtual void Enter(StateMachine& fsm) = 0;
virtual void Leave(StateMachine& fsm) = 0;
virtual bool Update(StateMachine& fsm, float elapsedTime) = 0;
};
}
#endif // NDK_STATE_HPP