Hi,

I'm getting what seems to be an inheritance error. I have a class,
PLayer which is defined as extending PNode:

   public class PLayer extends PNode 

PNode defines the addChild method:

   public void addChild(PNode child)

But when I use it in my code I get the following error:

   Method addChild for class edu.umd.cs.piccolo.PLayer with signature
   (edu.umd.cs.piccolo.PNode) not found at (eval 10) line 141

I'm wondering whether the fact that there is another addChild method
with a different signature is screwing things up:

   public void addChild(int index, PNode child)

Thanks,
jas.

Reply via email to