public class Sounds extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_NAME
The name of the sound repository configuration file.
|
| Constructor and Description |
|---|
Sounds() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getPackagePath(Class<?> clazz)
Return the package path prefix of the supplied class.
|
public static final String PROP_NAME
public static String getPackagePath(Class<?> clazz)
com.threerings.happy.fun.GameSounds were supplied to
this method, it would return
com/threerings/happy/fun/sounds/ which would reference
a sounds.properties file in the
com.threerings.happy.fun package.Copyright © 2015. All rights reserved.