@sprite
is mis-spelled as @spirte
, and this would cause a NoMethodError, because @spirte is not assigned and instance variables (starting with @) are nil
by default. The other issue is that the order in which things have to be called is important.
GameWindow#initialize has to set
$window to point to itself BEFORE creating the
SceneMap`.Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill