SFML community forums
Help => General => Topic started by: EGYPTIAN CODER on February 17, 2017, 10:56:36 am
-
hello every one
I am building a game engine that separate actions from reactions(soon I will post it)
the reactions is lamba :) functions and the actions are every time two drawable objects collide
but there is a problem that lambda need to access private members
and every time I find my self in this situation I made this members public :-\ but I think that this is very bad
temporary solution ;
so some help would would be great
-
This forum is about SFML, there are many other (better) forums to deal with generial C++ questions. Thanks.