Classes

this classes-example is actually one of the examples in the lua snippets i found pretty clear. but it is always difficult to explain completely in simple, non-technical terms.

the way is see it, these classes are like group-names. so, in the example in Classes.lua, you got the ‘Animal’ class, with derivative classes ‘Mammal’, ‘Bird’ and ‘Fish’.
but, as shown in the example, you need to define the ‘constructor’ for the class, which means you need to define the arguments which the function attached to the class needs (for definition of these terms, see the Glossary! :)…

now my question is: what does _init do exactly?