mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
30 lines
530 B
C++
30 lines
530 B
C++
#ifndef GAME_MWRENDER_PLAYER_H
|
|
#define GAME_MWRENDER_PLAYER_H
|
|
|
|
#include <iostream>
|
|
|
|
namespace Ogre
|
|
{
|
|
class Camera;
|
|
}
|
|
|
|
namespace MWRender
|
|
{
|
|
/// \brief Player character rendering and camera control
|
|
class Player
|
|
{
|
|
Ogre::Camera *mCamera;
|
|
std::string mHandle;
|
|
|
|
public:
|
|
|
|
Player (Ogre::Camera *camera, const std::string& handle);
|
|
|
|
Ogre::Camera *getCamera() { return mCamera; }
|
|
|
|
std::string getHandle() const { return mHandle; }
|
|
};
|
|
}
|
|
|
|
#endif
|