I am writing a basic game engine and have an abstract class that represents any object that can be drawn in the 3D world, however, inside this class there is an abstract Render () method, which I would automatically call the engine on each. How could I implement this so that every class that extends from my abstract class automatically calls Render ()?
I am using java, android sdk 2.2 and opengl es.
nick
source
share