123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|346|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> On Topic -> PMC Function Overloading.

Mon, 17 Dec 2012, 06:52
steve_ancell
I know that a method/def can be coded more than once with different amounts of parameters but why can't the same thing be done with methods inside of a class?.
Tue, 18 Dec 2012, 02:47
JL235
It can.

What exactly do you mean? Could you post an example?
Tue, 18 Dec 2012, 04:22
steve_ancell
OK will do.
Tue, 18 Dec 2012, 04:41
steve_ancell
It's OK now I managed to do it, must have been human error due to me not concentrating again. Cheers anyway Double-D.
Tue, 18 Dec 2012, 04:49
steve_ancell
Code is in here if you want to know what all the fuss was about. I was just having a go at sprite management.


www.playmycode.com/play/game/steve_ancell/snake-3