hi there!
is it possible to give a pointer to a sf::Sprite into a function?
something like that (verry simple overview):
int main(){
sf:Sprite ship(Image);
function(ship);
App.Draw(ship);
return 0;
}
function(??? *ship){
.... // calculate something...
ship.SetRotation(mov.angactual);
}
what typ of pointer is a sf:Sprite? is it a Multipointer?