annotate game/Sound.java @ 162:e8eeac403e5f

Backed out changeset fb33d3796942
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 01 Dec 2016 14:33:25 +0200
parents src/Sound.java@fb33d3796942
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 }