Julian Raschke
3/16/2009 4:33:00 PM
> What i don't understand, is why draw_quad works, andGosu::Graphics::draw_quad doesn't ?
Basically, because there is no Graphics class at all in the Ruby
version of Gosu, where all the methods from Graphics have been moved
to the Window class. Also, draw_quad is a *method*;
Gosu::Graphics::draw_quad() would be a call to a *class method* of
Gosu::Graphics. So there's only Gosu::Window#draw_quad, and you'd call
it on an instance of Window, or without any instance at all in the
methods of your Window.
Regards,
Julian