Android Open Source - osu-taste-portable Hit Object






From Project

Back to project page osu-taste-portable.

License

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.

Java Source Code

package com.dgsrz.osuTaste.beatmap;
/*  w  w w.  j ava 2s.c  om*/
/**
 * Created by: dgsrz
 * Date: 2014-01-31 15:41
 */
public class HitObject {

    private int time;
    private int sound;
    private float volume = 0.8f;
    private int soundType = 0;
    private int customSound = 0;

    public HitObject() {
    }

    public int getTime() {
        return time;
    }

    public int getSound() {
        return sound;
    }

    public float getVolume() {
        return volume;
    }

    public int getSoundType() {
        return soundType;
    }

    public int getCustomSound() {
        return customSound;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public void setTime(String time) {
        this.time = Integer.parseInt(time);
    }

    public void setSound(int sound) {
        this.sound = sound;
    }

    public void setSound(String sound) {
        this.sound = Integer.parseInt(sound) | 1;
    }

    public void setVolume(float volume) {
        this.volume = volume;
    }

    public void setSoundType(int soundType) {
        this.soundType = soundType;
    }

    public void setCustomSound(int customSound) {
        this.customSound = customSound;
    }
}




Java Source Code List

com.dgsrz.osuTaste.activities.BaseActivity.java
com.dgsrz.osuTaste.activities.HomeActivity.java
com.dgsrz.osuTaste.activities.SearchActivity.java
com.dgsrz.osuTaste.activities.SettingsActivity.java
com.dgsrz.osuTaste.activities.SplashActivity.java
com.dgsrz.osuTaste.adapters.PagerAdapter.java
com.dgsrz.osuTaste.beatmap.BeatmapParser.java
com.dgsrz.osuTaste.beatmap.HitObjectType.java
com.dgsrz.osuTaste.beatmap.HitObject.java
com.dgsrz.osuTaste.beatmap.InheritedTimingPoint.java
com.dgsrz.osuTaste.beatmap.TimingPoint.java
com.dgsrz.osuTaste.exception.BeatmapParsingException.java
com.dgsrz.osuTaste.fragments.AlbumFragment.java
com.dgsrz.osuTaste.loaders.BeatmapLoader.java
com.dgsrz.osuTaste.loaders.WrappedAsyncTaskLoader.java
com.dgsrz.osuTaste.model.Beatmap.java
com.dgsrz.osuTaste.provider.BeatmapStore.java
com.dgsrz.osuTaste.services.BassInterface.java
com.dgsrz.osuTaste.services.BassService.java
com.dgsrz.osuTaste.services.SampleProvider.java
com.dgsrz.osuTaste.services.StreamProvider.java
com.dgsrz.osuTaste.utils.ApplicationUtils.java
com.dgsrz.osuTaste.utils.Lists.java
com.dgsrz.osuTaste.utils.MusicUtils.java
com.dgsrz.osuTaste.utils.NavUtils.java
com.dgsrz.osuTaste.utils.PreferenceUtils.java
com.un4seen.bass.BASS.java