2016-02-13 09:02:47 +00:00
|
|
|
#ifndef __PSHAG_CWORLDTRANSMANAGER_HPP__
|
|
|
|
#define __PSHAG_CWORLDTRANSMANAGER_HPP__
|
2015-08-17 05:26:58 +00:00
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace pshag
|
2015-08-17 22:05:00 +00:00
|
|
|
{
|
|
|
|
|
2015-08-17 05:26:58 +00:00
|
|
|
class CWorldTransManager
|
|
|
|
{
|
2015-08-20 02:52:07 +00:00
|
|
|
bool m_drawEnabled;
|
|
|
|
public:
|
|
|
|
void DrawEnabled() const;
|
|
|
|
void DrawDisabled() const;
|
|
|
|
void Draw() const
|
|
|
|
{
|
|
|
|
if (m_drawEnabled)
|
|
|
|
DrawEnabled();
|
|
|
|
else
|
|
|
|
DrawDisabled();
|
|
|
|
}
|
2015-08-17 05:26:58 +00:00
|
|
|
};
|
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
}
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
#endif // __PSHAG_CWORLDTRANSMANAGER_HPP__
|