2011-01-08 14:11:37 +00:00
|
|
|
#ifndef GAME_MWRENDER_PLAYER_H
|
|
|
|
#define GAME_MWRENDER_PLAYER_H
|
|
|
|
|
2011-02-10 11:56:19 +00:00
|
|
|
#include <iostream>
|
|
|
|
|
2011-01-08 14:11:37 +00:00
|
|
|
namespace Ogre
|
|
|
|
{
|
|
|
|
class Camera;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace MWRender
|
|
|
|
{
|
|
|
|
/// \brief Player character rendering and camera control
|
|
|
|
class Player
|
|
|
|
{
|
|
|
|
Ogre::Camera *mCamera;
|
2011-02-10 11:56:19 +00:00
|
|
|
std::string mHandle;
|
2011-01-08 14:11:37 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
|
2011-02-10 11:56:19 +00:00
|
|
|
Player (Ogre::Camera *camera, const std::string& handle);
|
2011-01-08 14:11:37 +00:00
|
|
|
|
|
|
|
Ogre::Camera *getCamera() { return mCamera; }
|
2011-02-10 11:56:19 +00:00
|
|
|
|
|
|
|
std::string getHandle() const { return mHandle; }
|
2011-01-08 14:11:37 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|