(04-20-2015, 09:20 PM)Mudbill Wrote: (04-20-2015, 05:06 PM)FlawlessHappiness Wrote: To me, this sounds like when I make up my own functions.
Now I've never used classes, so eh...
Yes, it's essentially the same thing. The most notable difference (I think) is that classes are usually called externally, so that you may use separate files. At least that's how they work in Java, but they might work differently here since C++ doesn't really seem like the language that loves many separate files. Idk.
It should work from a separate file, that's how it works in C++.
I know how write a class, but I have no idea how I use it in Angelscript and that's my problem.