Problems with abstract method...

BlitzMax Forums/BlitzMax Programming/Problems with abstract method...

bregors(Posted 2006) [#1]
.


Brendane(Posted 2006) [#2]
What is this meant to do? (in Update() and Render())

If n <= (TScriptElement._elementcount-1) Then Exit

I've only glanced at it, but surely this will end the loop after the first item gets processed (in your case a MusicElement which has no implementation of RenderElement().


bregors(Posted 2006) [#3]
.


Brendane(Posted 2006) [#4]
Hi BrEgOrS (that takes some typing),

Check your logic there mate, it looks to me like it will end the loop after the first element is processed.

It should end the loop when n > elementcount-1.


bregors(Posted 2006) [#5]
.


Brendane(Posted 2006) [#6]
;) easily done. Good luck!