 |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
10 #ifndef RECTANGLE_H_DEFINED
11 #define RECTANGLE_H_DEFINED
14 #include "renderWindow.h"
16 #include <Entities\component.h>
18 #include <Math\vec2.h>
22 class GameApplication;
32 unsigned int indices[6] =
42 void setUpBuffers(
void);
44 const char* defaultRectangle =
46 #include <Shaders\defaultRectangle.glsl>
55 virtual void start()
override;
A rectangle that can be drawn to the screen.
Definition: rectangleShape.h:26
Shader rectangleShader
The shader that should be used to draw this rectangle.
Definition: rectangleShape.h:51
A component of a rune::GameObject, this class is used to add functionality to a object in the game wo...
Definition: component.h:23
A shader that can be used to render objects to the screen.
Definition: shader.h:41
Interface class for creating something that can be drawn to the screen.
Definition: drawable.h:20
static Color White
White predefined color.
Definition: color.h:42
A window that the game can be drawn to.
Definition: renderWindow.h:26
1 x 2 vector to be used for math.
Definition: vec2.h:20
A color object to be applied to drawable objects.
Definition: color.h:19
static Color Black
Black predefined color.
Definition: color.h:40
The main namespace to be used for interfacing with the engine.
Definition: animator.h:21