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; }
|
|
|
|
|
2014-02-21 11:43:05 +01:00
|
|
|
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
|