mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-08 12:00:55 +00:00
addition + correct drawing modes
This commit is contained in:
@@ -167,3 +167,8 @@ void RAY::Window::setIcon(RAY::Image &img)
|
||||
{
|
||||
SetWindowIcon(img);
|
||||
}
|
||||
|
||||
bool RAY::Window::isReady() const
|
||||
{
|
||||
return IsWindowReady();
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#ifndef WINDOW_HPP_
|
||||
#define WINDOW_HPP_
|
||||
|
||||
#define INTERNAL public
|
||||
#include <raylib.h>
|
||||
#include <string>
|
||||
#include <optional>
|
||||
@@ -131,6 +131,8 @@ namespace RAY {
|
||||
//! @brief Draw a 3d mesh with material and transform
|
||||
void draw(const Mesh &mesh, const Material &material, const Matrix &transform);
|
||||
|
||||
bool isReady() const;
|
||||
|
||||
|
||||
private:
|
||||
//! @brief Creates window, and opens it if openNow is set to true
|
||||
|
||||
Reference in New Issue
Block a user