including classes from wherevers

Let's say I want to use a class I wrote in my code, but I don't want to actually save it to the arduino libraries folder. How might I go about doing this?

I've got a stupid simple "motor" and "sensor" class I wrote, just to make my code read a little cleaner, so it seems a little much to actually save it as a true "library".

EDIT: Dammit, I meant to post this in the Programming section

No need to cuss. A moderator can move it for you. Just click "Report to moderator" and make the request.

Moderator edit: moved.

Click on the "new tab" in the IDE (top RH corner). Make a .h and .cpp file as appropriate. Include the .h file in your main sketch.