Cant override Draw() method;

I tried to follow the dynamic-textures tutorial, but i stuck at one point:

"Unlike CCNode or CCSprite, a CCGeometryBatch instance not simply added to the scene. Instead it draws directly onto the screen when we call its Draw() method. To do, we override the Draw()method of the CCLayer we're using:"

But there is no such method i can override, altough my class inherits from CCLayer. I keep getting the error code CS0115.
What do i have to do here?

Also, the CCDrawPrimitives is obsolete but the tutorial is still using it.



Sign In or Register to comment.