PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
Loading...
Searching...
No Matches
graphic::IWindow Interface Referenceabstract

Window interface. More...

#include <IWindow.hpp>

Inheritance diagram for graphic::IWindow:
RayWindow SdlWindow SfmlWindow

Public Member Functions

virtual ~IWindow ()=default
 Destroy the IWindow object.
 
virtual bool isOpen ()=0
 notice if the window is open
 
virtual void close ()=0
 close the window
 
virtual void setFrameLimit (__int32_t limit)=0
 Set the Frame Limit object.
 
virtual __int32_t getDelta ()=0
 Get the Delta object.
 
virtual void linkEvent (IEvent *event)=0
 link an event to the window
 
virtual void beginDraw ()=0
 allowing to draw 2D on the window
 
virtual void drawPoly (IPolygon *polygon)=0
 draw a polygon
 
virtual void drawSprite (ISprite *model)=0
 draw a sprite
 
virtual void endDraw ()=0
 end the 2D drawing
 
virtual void beginMode3 (ICamera *camera)=0
 allowing to draw 3D on the window
 
virtual void drawModel (IModel *model)=0
 draw a model
 
virtual void endMode3 ()=0
 end the 3D drawing
 
virtual bool pollEvent ()=0
 poll the event
 
virtual void eventClose ()=0
 update the window
 

Detailed Description

Window interface.


The documentation for this interface was generated from the following file: