Hmm, I wouldn't know how to do that right away, not that experienced with C++. I will look at the tutorials again and try to figure out a good solution. Thanks for the tip.
EDIT: Implemented it in that way now. Works great and is a pretty solution. Thanks.