![]() |
PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
|
Raylib Window class. More...
#include <RayWindow.hpp>
Public Member Functions | |
| RayWindow (__int32_t screenWidth, __int32_t screenHeight, std::string title) | |
| bool | isOpen () override |
| notice if the window is open | |
| void | close () override |
| close the window | |
| void | linkEvent (graphic::IEvent *event) override |
| link an event to the window | |
| bool | pollEvent () override |
| poll the event | |
| void | eventClose () override |
| update the window | |
| void | setFrameLimit (__int32_t limit) override |
| Set the Frame Limit object. | |
| __int32_t | getDelta () override |
| Get the Delta object. | |
| void | beginDraw () override |
| allowing to draw 2D on the window | |
| void | endDraw () override |
| end the 2D drawing | |
| virtual void | drawPoly (graphic::IPolygon *polygon) override |
| draw a polygon | |
| virtual void | drawSprite (graphic::ISprite *sprite) override |
| draw a sprite | |
| void | beginMode3 (graphic::ICamera *camera) override |
| allowing to draw 3D on the window | |
| virtual void | drawModel (graphic::IModel *model) override |
| draw a model | |
| void | endMode3 () override |
| end the 3D drawing | |
Public Member Functions inherited from graphic::IWindow | |
| virtual | ~IWindow ()=default |
| Destroy the IWindow object. | |
Raylib Window class.