mhframework.media
Class MHResourceManager

java.lang.Object
  extended by mhframework.media.MHResourceManager

public class MHResourceManager
extends java.lang.Object


Constructor Summary
MHResourceManager()
           
 
Method Summary
 MHMediaTracker getMediaTracker()
           
 MHMidiPlayer getMidiPlayer()
           
 MHSoundManager getSoundManager()
           
 MHTileSetManager getTileSetManager()
           
static java.awt.Image loadImage(java.lang.String imageFile)
           
static java.awt.Image loadImage(java.lang.String imageFile, java.lang.String jarFile)
          Loads images from a JAR file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MHResourceManager

public MHResourceManager()
Method Detail

getTileSetManager

public MHTileSetManager getTileSetManager()

getMidiPlayer

public MHMidiPlayer getMidiPlayer()

getSoundManager

public MHSoundManager getSoundManager()

getMediaTracker

public MHMediaTracker getMediaTracker()

loadImage

public static java.awt.Image loadImage(java.lang.String imageFile)

loadImage

public static java.awt.Image loadImage(java.lang.String imageFile,
                                       java.lang.String jarFile)
Loads images from a JAR file.

Parameters:
imageFile - The name of the image file to load.
jarFile - The name of the JAR file containing the image file.
Returns:
Image object containing image data from file.