Danbias/Code/Misc/Input/Include/InputObject.h

30 lines
623 B
C
Raw Normal View History

2014-02-14 15:50:00 +01:00
/////////////////////////////////////////////////////////////////////
// Created by [Dennis Andersen] [2013]
/////////////////////////////////////////////////////////////////////
#ifndef INPUT_INPUTOBJECT_H
#define INPUT_INPUTOBJECT_H
#include "Common.h"
namespace Input
{
class InputObject
{
public:
inline Enum::SAIType Type() { return type; }
virtual void Activate () = 0;
virtual void Deactivate () = 0;
virtual bool IsActive() = 0;
2014-02-14 15:50:00 +01:00
protected:
InputObject(Enum::SAIType type) { this->type = type; }
virtual~InputObject() { }
private:
Enum::SAIType type;
};
}
#endif // !INPUT_INPUTOBJECT_H