6e8fbca745
match the genesis editor version 1.3.0.653.
36 lines
779 B
C++
36 lines
779 B
C++
/** \file: InputSystem.h
|
|
* \brief: IO
|
|
* Copyright (c) 2011,³©ÓÎÌìÏÂWebJetÊÂÒµ²¿
|
|
* All rights reserved.
|
|
* Date Ver Who Comment
|
|
* 2011/10/17 1.0 SunHao
|
|
*/
|
|
#ifndef __INPUTSYSTEM_H__
|
|
#define __INPUTSYSTEM_H__
|
|
|
|
#include "app/appframework/manager.h"
|
|
#include "app/apputil/mayacamerautil.h"
|
|
|
|
|
|
namespace Demo
|
|
{
|
|
class DemoInputManager: public App::Manager
|
|
{
|
|
__DeclareSubClass(DemoInputManager, App::Manager );
|
|
public:
|
|
DemoInputManager();
|
|
~DemoInputManager();
|
|
|
|
/// @App::Manager::OnActivate called when attached to game server
|
|
virtual void OnActivate();
|
|
|
|
/// @App::Manager::OnBeginFrame called before frame by the game server
|
|
virtual void OnBeginFrame();
|
|
public:
|
|
AppUtil::MayaCameraUtil m_mayaCameraUtil;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __INPUTSYSTEM_H__
|