This is one class from my program! When I\'m trying to compile the whole program, I get an error message like this:
main.cpp:174: error: \'((Scene*)this)
You declare lake as a method that takes one argument and returns a Lake. You then try and call a method on it via lake.light_up(). This causes the error you observe.
To solve the problem, you either need to declare lake to be a variable, e.g. Lake lake;, or you need to stop trying to call a method on it.