Files
Tower-Defense/include/window/Display.h

32 lines
392 B
C++

/*
* Display.h
*
* Created on: 4 nov. 2020
* Author: simon
*/
#ifndef WINDOW_DISPLAY_H_
#define WINDOW_DISPLAY_H_
namespace Display {
bool create();
void render();
void update();
void destroy();
void pollEvents();
bool isCloseRequested();
bool isMouseDown(int button);
float getAspectRatio();
int getWindowWidth();
int getWindowHeight();
}
#endif /* WINDOW_DISPLAY_H_ */