global images?

BlitzMax Forums/BlitzMax Programming/global images?

Type Something
   Global image:timage=loadimage(........)
   
   Field x, y
   Method draw()
      drawimage Something.image, x, y
   End Method
End Type


Then the image is stored and loaded only once, in Something.image