annotate src/Sound.java @ 161:fb33d3796942

Rename source directory.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 21 Jun 2016 12:53:53 +0300
parents game/Sound.java@736de7b28701
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
1 package game;
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
2
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
3 public class Sound {
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
4
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
5 private byte[] samples;
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
6
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
7 public Sound(byte[] samples)
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
8 {
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
9 this.samples = samples;
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
10 }
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
11
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
12 public byte[] getSamples()
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
13 {
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
14 return samples;
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
15 }
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
16
736de7b28701 Non-working sound code ...
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
17 }