com.threerings.openal
Class ResourceClipProvider
java.lang.Object
com.threerings.openal.ResourceClipProvider
- All Implemented Interfaces:
- com.threerings.openal.ClipProvider
public class ResourceClipProvider
- extends Object
- implements com.threerings.openal.ClipProvider
Loads clips from resources.
|
Constructor Summary |
ResourceClipProvider(com.threerings.resource.ResourceManager rsrcmgr)
Creates a new resource clip provider that will obtain resources from the given manager. |
|
Method Summary |
com.threerings.openal.Clip |
loadClip(String path)
Loads the specified clip from the appropriate source. |
ResourceClipProvider
public ResourceClipProvider(com.threerings.resource.ResourceManager rsrcmgr)
- Creates a new resource clip provider that will obtain resources from the given manager.
loadClip
public com.threerings.openal.Clip loadClip(String path)
throws IOException
- Loads the specified clip from the appropriate source.
- Specified by:
loadClip in interface com.threerings.openal.ClipProvider
- Throws:
IOException
Copyright © 2011. All Rights Reserved.