ProtoZed  awesome branch
A simple but powerful game framework
Public Member Functions | List of all members
PZ::Input2 Class Reference
Inheritance diagram for PZ::Input2:
PZ::System PZ::NonCopyable PZ::EventHandler

Public Member Functions

 Input2 (const SystemType &type, Application &application)
 
 ~Input2 ()
 
virtual void Update (float deltaTime)
 Runs an update.
 
template<class T >
bool RegisterProvider ()
 
- Public Member Functions inherited from PZ::System
 System (const SystemType &type, Application &application)
 
virtual ~System ()
 
virtual bool Start ()
 Starts the system.
 
virtual bool Stop ()
 Stops the system.
 
const SystemTypeGetType () const
 Gets the type.
 
bool IsStarted () const
 
- Public Member Functions inherited from PZ::EventHandler
 EventHandler ()
 
virtual ~EventHandler ()
 
bool SubscribeTo (EventHandler &handler)
 
bool UnsubscribeTo (EventHandler &handler)
 
template<class T , class EventT >
bool RegisterEvent (T *obj, void(T::*memFn)(EventT &))
 
template<class T , class EventT >
bool UnregisterEvent (T *obj, void(T::*memFn)(EventT &))
 
void HandleEvent (const Event &e)
 
void EmitEvent (const Event &e) const
 

Additional Inherited Members

- Protected Member Functions inherited from PZ::System
ApplicationGetApplication () const
 

Constructor & Destructor Documentation

PZ::Input2::Input2 ( const SystemType type,
Application application 
)
PZ::Input2::~Input2 ( )

Member Function Documentation

template<class T >
bool PZ::Input2::RegisterProvider ( )
inline
virtual void PZ::Input2::Update ( float  deltaTime)
virtual

Runs an update.

Parameters
deltaTimeTime since the last frame.

Implements PZ::System.


The documentation for this class was generated from the following file: