30 lines
623 B
C++
30 lines
623 B
C++
/////////////////////////////////////////////////////////////////////
|
|
// 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;
|
|
|
|
protected:
|
|
InputObject(Enum::SAIType type) { this->type = type; }
|
|
virtual~InputObject() { }
|
|
|
|
private:
|
|
Enum::SAIType type;
|
|
};
|
|
}
|
|
|
|
#endif // !INPUT_INPUTOBJECT_H
|