Android Open Source - game_guess_lib Guess Config






From Project

Back to project page game_guess_lib.

License

The source code is released under:

MIT License

If you think the Android project game_guess_lib 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.wkmf.guess.lib.structure;
//ww  w.  j ava2 s  .  c o m
import android.graphics.drawable.Drawable;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by ernestofndz on 19/02/14.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class GuessConfig{

    public static final String BDD = "GuessGameBDD"; // la bdd es la misma para toda la saga
    @JsonProperty("id")
    private String id;
    @JsonProperty("name")
    private String name;
    @JsonProperty("nameBackgroundColor")
    private String nameBackgroundColor;
    @JsonProperty("nameTextColor")
    private String nameTextColor;
    @JsonProperty("tagBackgroundColor")
    private String tagBackgroundColor;
    @JsonProperty("tagTextColor")
    private String tagTextColor;
    @JsonProperty("tagDoneBackgroundColor")
    private String tagDoneBackgroundColor;
    @JsonProperty("tagDoneTextColor")
    private String tagDoneTextColor;
    @JsonProperty("theme")
    private int theme;
    @JsonProperty("base64")
    private String base64;
    @JsonProperty("level_type")
    private GuessLevelType guessLevelType;

    // constructor
    public GuessConfig(
            String id,
            String name,
            String nameBackgroundColor,
            String nameTextColor,
            String tagBackgroundColor,
            String tagTextColor,
            String tagDoneBackgroundColor,
            String tagDoneTextColor,
            int theme,
            String base64,
            GuessLevelType guessLevelType
            ) {

        this.id = id;
        this.name = name;
        this.nameBackgroundColor = nameBackgroundColor;
        this.nameTextColor = nameTextColor;
        this.tagBackgroundColor = tagBackgroundColor;
        this.tagTextColor = tagTextColor;
        this.tagDoneBackgroundColor = tagDoneBackgroundColor;
        this.tagDoneTextColor = tagDoneTextColor;
        this.theme = theme;
        this.base64 = base64;
        this.guessLevelType = guessLevelType;
    }
    public GuessConfig(){}

    // get/set
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getTagBackgroundColor() {
        return tagBackgroundColor;
    }
    public void setTagBackgroundColor(String tagBackgroundColor) {
        this.tagBackgroundColor = tagBackgroundColor;
    }
    public String getTagTextColor() {
        return tagTextColor;
    }
    public void setTagTextColor(String tagTextColor) {
        this.tagTextColor = tagTextColor;
    }
    public int getTheme() {
        return theme;
    }
    public void setTheme(int theme) {
        this.theme = theme;
    }
    public String getNameBackgroundColor() {
        return nameBackgroundColor;
    }
    public void setNameBackgroundColor(String nameBackgroundColor) {
        this.nameBackgroundColor = nameBackgroundColor;
    }
    public String getNameTextColor() {
        return nameTextColor;
    }
    public void setNameTextColor(String nameTextColor) {
        this.nameTextColor = nameTextColor;
    }
    public String getTagDoneBackgroundColor() {
        return tagDoneBackgroundColor;
    }
    public void setTagDoneBackgroundColor(String tagDoneBackgroundColor) {
        this.tagDoneBackgroundColor = tagDoneBackgroundColor;
    }
    public String getTagDoneTextColor() {
        return tagDoneTextColor;
    }
    public void setTagDoneTextColor(String tagDoneTextColor) {
        this.tagDoneTextColor = tagDoneTextColor;
    }
    public String getBase64() {
        return base64;
    }
    public GuessLevelType getGuessLevelType() {
        return guessLevelType;
    }
}




Java Source Code List

com.android.vending.billing.util.Base64DecoderException.java
com.android.vending.billing.util.Base64.java
com.android.vending.billing.util.IabException.java
com.android.vending.billing.util.IabHelper.java
com.android.vending.billing.util.IabResult.java
com.android.vending.billing.util.Inventory.java
com.android.vending.billing.util.Purchase.java
com.android.vending.billing.util.Security.java
com.android.vending.billing.util.SkuDetails.java
com.wkmf.guess.lib.common.Constants.java
com.wkmf.guess.lib.common.ads.GuessGameAdsListener.java
com.wkmf.guess.lib.common.ads.GuessGameAds.java
com.wkmf.guess.lib.common.api.GuessApi.java
com.wkmf.guess.lib.common.api.GuessRestApi.java
com.wkmf.guess.lib.common.async.DownloadTask.java
com.wkmf.guess.lib.common.dialog.DialogElement.java
com.wkmf.guess.lib.common.dialog.DialogModalListAdapter.java
com.wkmf.guess.lib.common.dialog.DialogModal.java
com.wkmf.guess.lib.data.GuessGameBDDHandler.java
com.wkmf.guess.lib.data.GuessSQL.java
com.wkmf.guess.lib.impl.GuessGameBaseApp.java
com.wkmf.guess.lib.impl.GuessGameImageDownload.java
com.wkmf.guess.lib.impl.GuessGameInterface.java
com.wkmf.guess.lib.purchase.items.GuessGameItems.java
com.wkmf.guess.lib.screen.GuessLevelScreen.java
com.wkmf.guess.lib.screen.GuessMainScreen.java
com.wkmf.guess.lib.screen.GuessQuestionScreen.java
com.wkmf.guess.lib.screen.adapter.LevelsAdapter.java
com.wkmf.guess.lib.screen.adapter.QuestionsAdapter.java
com.wkmf.guess.lib.service.GuessGameService.java
com.wkmf.guess.lib.service.GuessGameUpdater.java
com.wkmf.guess.lib.service.ServiceStarter.java
com.wkmf.guess.lib.structure.GuessConfig.java
com.wkmf.guess.lib.structure.GuessDrawable.java
com.wkmf.guess.lib.structure.GuessGame.java
com.wkmf.guess.lib.structure.GuessLevelType.java
com.wkmf.guess.lib.structure.GuessLevel.java
com.wkmf.guess.lib.structure.GuessQuestion.java