view game/Sound.java @ 138:9eb791e2fa17

Optimize board updating logic, so that the old placed tiles need not to be redrawn from scratch on each screen update, as they do not change usually.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 25 Nov 2011 11:04:09 +0200
parents 736de7b28701
children
line wrap: on
line source

package game;

public class Sound {

    private byte[] samples;

    public Sound(byte[] samples)
    {
        this.samples = samples;
    }

    public byte[] getSamples()
    {
        return samples;
    }

}