Why does superclass's method get called instead of subclass's?
<p>I have a base 'node' class with an 'update()' member function</p>

<p>now i have other classes that extend the 'node' class and override the 'update' class.</p>

<p>but all my 'node's are stored in an array (of type 'node') and they all get 'update'd in turn.</p>

<p>The problem is the its calling the base node class update rather than my override function.</p>

<p>What am i doing wrong? (i have the @Override and the functions are the same name, return type and have the same params)</p>

<p>EDIT
OMG SORRY I WAS EDITING THE BACKUP FILE. WORKS NOW. SORRY SORRY</p>
