Mercurial > hg > ristipolku
view game/Sound.java @ 25:bbac3e4a4b9b
Cleanups, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 01 Feb 2011 18:05:19 +0200 |
parents | 0741dc117808 |
children | 736de7b28701 |
line wrap: on
line source
/* * Ristipolku Game Engine * (C) Copyright 2011 Matti 'ccr' Hämäläinen <ccr@tnsp.org> */ package game; public enum Sound { // Music loops MUSIC_GAME1 ("gamemusic.wav", true), // Sound effects PIECE_PLACED ("placed.wav", false); private final String name; private final boolean streaming; Sound(String name, boolean streaming) { this.name = name; this.streaming = streaming; } public String getName() { return this.name; } public boolean isStreaming() { return streaming; } }