|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.brackeen.javagamebook.sound.Sound
public class Sound
The Sound class is a container for sound samples. The sound samples are format-agnostic and are stored as a byte array.
| Field Summary | |
|---|---|
private byte[] |
samples
|
| Constructor Summary | |
|---|---|
Sound(byte[] samples)
Create a new Sound object with the specified byte array. |
|
| Method Summary | |
|---|---|
byte[] |
getSamples()
Returns this Sound's objects samples as a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private byte[] samples
| Constructor Detail |
|---|
public Sound(byte[] samples)
| Method Detail |
|---|
public byte[] getSamples()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||