eduardobaiao at gmail.com
Mon Dec 15 15:40:50 EST 2008
I've already posted about this issue weeks ago. I was playing iwth XNA too.
The IronRuby it's not passing correctly the parameters for the super
2008/12/15 Gabriel Rotar <lists at ruby-forum.com>:
> As you say "Initialize" is different from "initialize"
> so I have the the constructor:
> def initialize
> graphics = GraphicsDeviceManager.new self
> witch works
> and then i have the Initialize procedure
> def Initialize
> witch manages the actual 3d viewport, it is called every time the 3d
> viewport needs reinitialization(like an ALT+TAB) when I try to run the
> script I get:
> " wrong number or type of arguments for `Initialize' "
> the thing is Initialize doesn't have any parameters, is it still being
> treated as a constructor?
> Posted via http://www.ruby-forum.com/.
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
More information about the Ironruby-core