• Advertisement
Sign in to follow this  

Passing custom objects to functions

This topic is 1784 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I made a class for pixel perfect collision, but for it to work, i must send the entire object to it. How can i pass an entire object to a function. whati s the general name for objects, like integrals have int and so on. Or how can i send the specific part of the spritesheet to the function. Im using imageicon to draw the images on the board , adn all the movement and stuff is done with image icons.

So how to i send objects ingonito or how i send parts of imageicon?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement