Package com.badlogic.gdx.audio

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


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

        }
    }

    @Override
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.