| 1234567891011121314151617181920212223242526272829303132333435 |
- #include "BsPlatformInfo.h"
- #include "BsPlatformInfoRTTI.h"
- namespace BansheeEngine
- {
- PlatformInfo::PlatformInfo()
- :type(PlatformType::Windows), fullscreen(true), windowedWidth(1280), windowedHeight(720)
- { }
- PlatformInfo::~PlatformInfo()
- { }
- RTTITypeBase* PlatformInfo::getRTTIStatic()
- {
- return PlatformInfoRTTI::instance();
- }
- RTTITypeBase* PlatformInfo::getRTTI() const
- {
- return PlatformInfo::getRTTIStatic();
- }
- WinPlatformInfo::WinPlatformInfo()
- { }
- RTTITypeBase* WinPlatformInfo::getRTTIStatic()
- {
- return WinPlatformInfoRTTI::instance();
- }
- RTTITypeBase* WinPlatformInfo::getRTTI() const
- {
- return WinPlatformInfo::getRTTIStatic();
- }
- }
|