[Ironruby-core] Xna+IronRuby+RubyNewb=headache

Curt Hagenlocher curth at microsoft.com
Wed Nov 19 19:41:23 EST 2008

I'm not entirely sure I understand the problem, but "Initialize" is the one CLR method name that we don't mangle.  Is this a Ruby class that you've derived from an XNA type or just the XNA type directly?

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Gabriel Rotar
Sent: Wednesday, November 19, 2008 1:53 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Xna+IronRuby+RubyNewb=headache

Everything works great
Made a little c# loader app to hide all of the require and include
Orion Edwards wrote:
> ... and constructors are always def initialize, not def ClassName
There is a problem in the fact that Xna has a function that is called
every time the graphics device is lost(ex:alt+tab) and then returned
witch is called Initialize() this function is basically responsible for
initializing the main GraphisDevice object.
Is there a way to call this function?
Posted via http://www.ruby-forum.com/.
Ironruby-core mailing list
Ironruby-core at rubyforge.org

More information about the Ironruby-core mailing list