hiteshsuthar / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

SpriteModifier not working #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Subclasses of SpriteModifier do not match onUpdate() and onDraw().

What version of Rokon are you using?
/trunk

How-to fix:
Change all subclasses #onUpdate(Sprite sprite) method to
#onUpdate(DynamicObject sprite)

Original issue reported on code.google.com by christop...@gmail.com on 5 Jan 2010 at 1:06

GoogleCodeExporter commented 8 years ago
I was wondering why my modifiers were not working.

Original comment by docto...@gmail.com on 5 Jan 2010 at 1:24

GoogleCodeExporter commented 8 years ago
A Suggestion to the dev-team:
Use @Override were it makes sense and such a problem would have came up at 
compile time.

Original comment by christop...@gmail.com on 5 Jan 2010 at 1:32

GoogleCodeExporter commented 8 years ago
It was changed because the Sprite class was going to change. But then it didnt, 
and it 
hasn't been changed back yet.

You have to realise... trunk is not going to be stable

Original comment by rtaylor205@gmail.com on 5 Jan 2010 at 8:11