Back to project page osu-taste-portable.
The source code is released under:
Apache License
If you think the Android project osu-taste-portable listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.dgsrz.osuTaste.beatmap; //ww w .j av a 2s . c om /** * Created by: dgsrz * Date: 2014-01-31 15:43 */ public class TimingPoint { private int beginTime; private float beatTime; private boolean inherited = false; private float volume = 0.8f; private int soundType = 0; // 0-Normal, 1-Soft, 2-Drum private int customSound = 0; private boolean kiasTime = false; public int getBeginTime() { return beginTime; } public float getBeatTime() { return beatTime; } public boolean isInherited() { return inherited; } public float getVolume() { return volume; } public int getSoundType() { return soundType; } public int getCustomSound() { return customSound; } public boolean isKiasTime() { return kiasTime; } public float getMultiplier() { return 1.0f; } public void setBeginTime(String beginTime) { this.beginTime = (int) Float.parseFloat(beginTime); } public void setBeatTime(String beatTime) { this.beatTime = Float.parseFloat(beatTime); } public void setInherited(boolean inherited) { this.inherited = inherited; } public void setVolume(String volume) { this.volume = Float.parseFloat(volume) / 100.0f; } public void setSoundType(String soundType) { this.soundType = Integer.parseInt(soundType); } public void setCustomSound(String customSound) { this.customSound = Integer.parseInt(customSound); } public void setKiasTime(boolean kiasTime) { this.kiasTime = kiasTime; } }