#using sfml stuff in functions

10 messages · Page 1 of 1 (latest)

paper valeBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

sour stratus
#

yes you can @vast wharf

#

you can try to pass a reference to that variable as a parameter of your function

#

they are defining a class

#

and putting the variables as class members

#

yes that could work

sour stratus
#

you're probably passing a value instead of a reference

#

no, reference as in reference 🙂

paper valeBOT
#

@vast wharf Has your question been resolved? If so, type !solved :)