Hey,
I’m quite new to OOP and have come to a problem.
Lets say I have a ‘hands’ class that I use so:
var h:hands = new hands(0); //this gives me the first hand
var h2:hands = new hands(1); // this gives me the second hand
now. The problem comes when I want to be able to kind of get to a class within a class like so:
var h:hands = new hands(0).fingers(0);
If possible I’d also like the fingers class to be on a different .as file than the hands file. How do I do this?