mhframework.media
Class MHResourceManager
java.lang.Object
mhframework.media.MHResourceManager
public class MHResourceManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MHResourceManager
public MHResourceManager()
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.