Skip to content
Snippets Groups Projects
Commit f7c7ebbb authored by Pascal Engeler's avatar Pascal Engeler
Browse files

fixed constructor definition

parent 37707b5c
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,9 @@ Toolbox::Toolbox(const int screen_w, const int screen_h, //screen resolution ...@@ -7,7 +7,9 @@ Toolbox::Toolbox(const int screen_w, const int screen_h, //screen resolution
const int texoffset_right, //texture offset right const int texoffset_right, //texture offset right
const int texoffset_bottom, //texture offset bottom const int texoffset_bottom, //texture offset bottom
const int texoffset_top, //texture offset top const int texoffset_top, //texture offset top
const std::string shaderpath) //path to shaders const std::string shaderpath, //path to shaders
const std::string texturepath, //path to textures
const std::string resourcepath) //path to resources
: :
mailbox(0), mailbox(0),
events(0), events(0),
...@@ -29,6 +31,8 @@ Toolbox::Toolbox(const int screen_w, const int screen_h, //screen resolution ...@@ -29,6 +31,8 @@ Toolbox::Toolbox(const int screen_w, const int screen_h, //screen resolution
texoffset_bottom(texoffset_bottom), texoffset_bottom(texoffset_bottom),
texoffset_top(texoffset_top), texoffset_top(texoffset_top),
shader_path(shaderpath), shader_path(shaderpath),
texture_path(texturepath),
resource_path(resource_path),
time(0.f), time(0.f),
dt(0.016f) dt(0.016f)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment