2017-02-12 03:17:18 +00:00
|
|
|
#ifndef __URDE_CPLAYERVISOR_HPP__
|
|
|
|
#define __URDE_CPLAYERVISOR_HPP__
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CStateManager;
|
|
|
|
|
|
|
|
namespace MP1
|
|
|
|
{
|
|
|
|
|
|
|
|
class CPlayerVisor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CPlayerVisor(CStateManager& stateMgr);
|
2017-05-18 19:27:21 +00:00
|
|
|
void Update(float dt, const CStateManager& stateMgr);
|
|
|
|
void Touch();
|
|
|
|
float GetDesiredViewportScaleX(const CStateManager& stateMgr) const;
|
|
|
|
float GetDesiredViewportScaleY(const CStateManager& stateMgr) const;
|
2017-02-12 03:17:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CPLAYERVISOR_HPP__
|