Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / images and windows q
- By banister Date 2009-08-18 05:59
is there a way to find out which Gosu::Window object an image is bound to? (i know there can only be one Gosu::Window per game but i am still curious if i can get back the Window instance from the Image some how...)
- By jlnr (dev) Date 2009-08-18 11:55 Edited 2009-08-18 11:59
No documented one, and it wouldn't make sense to introduce one since I'm planning to remove the contructor arg, so in theory Images could exist without any Window ever existing at all. I guess this is bad news through good news ;)

Of course, it should be easy to monkey-patch Gosu::Image to add this feature.
Up Topic Gosu / Gosu Exchange / images and windows q

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill