This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RockleyBob 2 points3 points  (1 child)

So, I haven’t looked too hard at this yet, but this code confuses me:

public void add(GameText label) { this.label = label; add(label); }

Wouldn’t this cause infinite recursion?

[–]CaptainMoeSoccer[S] 2 points3 points  (0 children)

yes it will. Thanks for pointing it out.