class object{ float pos_x; float pos_y; float width; float height; sprite; void Init(); void Update(); void Display(); void Free();};
Then just use a seperate function that will except 2 objects, check if they're colliding and pass back a struct containing data about the collision.
if you really need to seperate things you might be looking into a seperate physics engine, and incorporating a sorta "Model View Controler" design, wich you can google.