void AnimatedObject::Render(void){ IRenderable *currMesh = dynamic_cast<IRenderable *>(GetMember(frameNames[currentFrame])); if (currMesh != 0) currMesh->Render(); }
void RenderManager::RenderObject(IRenderable& renderable) { renderable.Render(al_get_backbuffer(_display_context)); }