Commit 8e82d4dd authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[ADD] added example image to META of template modules.

parent f474a558
......@@ -764,7 +764,7 @@ void WMTemplate::moduleMain()
// Let us utilize the META file in the resources directory. This file contains several information about a module and
// can also contain custom values. Here, we query the "goodbye" value:
std::string bye = getMetaInformation()->query< std::string >(
"common/goodbye", // the absolute path
"common/goodbye", // the absolute path
"have a nice day" // a default if the element does not exist or cannot be returned as std::string.
infoLog() << bye;
......@@ -191,6 +191,9 @@
// how to say goodbye ...
goodbye = "Auf Wiedersehen!"; // in german
// and a useful texture we want to use in some modules. We will load this using WGEImage.
amazingTexture = "amazingTexture.png";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment