Files
NazaraEngine/SDK/include/NDK/State.hpp
Ardakaniz 2f91c10679 Sdk/State: Fix State link error
Former-commit-id: dfd30810abde2e2901fefb530977894f451abc0d [formerly 970b554c5d21b2f654b079e4da4a2f12dc9e95a8]
Former-commit-id: 0e695a5cf47817c71c19aefcd409d2dce982137a
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