annotate game/Sound.java @ 146:351f20e09d48

Added tag dev-0_85 for changeset 56aea6c89203
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 25 Nov 2011 16:16:30 +0200
parents 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 }