Package com.badlogic.gdx.audio

Examples of com.badlogic.gdx.audio.Sound.loop()


    @Override
    public void playSound(String name, boolean loop) {
        Sound s = m_soundList.get(name);
        if (loop) {
            s.loop(m_volumeFX);
        } else {
            s.play(m_volumeFX);

        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.