Classes

Can some one explain to me what classes are used for, and how to use them? The explanations I look up on Google and what-not aren’t very clear. I tried using classes, but aren’t sure how to properly use them and what they do. If a human-being could explain to me what they are, what they do, and how to use them, you know, with class:init() class:draw() and class:touched(). I have knowledge with Lua so I should understand this concept. Thanks!

Thanks! This was easy to understand.

@Coder1500 - I wrote a couple of posts about exactly that, here and here.

And how to use them, here and here.