Ah. I gave some bad advice re that one method then. Sorry :-(

Curt Hagenlocher wrote:
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gabriel Rotar
Sent: Wednesday, November 19, 2008 1:53 PM
To: ironruby-core@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
statements.
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@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
  

--
Orion Edwards
Web Application Developer

T: +64 7 859 2120
F: +64 7 859 2320
E: [EMAIL PROTECTED]

Open2view.com
The Real Estate Website

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to