Files
NazaraEngine/SDK/include/NDK/State.hpp
Ardakaniz 34bce2d1fb Sdk/State: Fix State link error
Former-commit-id: 1ceeaffc7a9d0eeaf240d7f57efe5ae1ca44c1c4 [formerly 0cd1c65c5c003e695601afa945c1b11c38e7ff62]
Former-commit-id: 73ec87f686293677e90ae9aa4bcd4f17d9b2b97a
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