Back to project page Handalfabet.
The source code is released under:
GNU General Public License
If you think the Android project Handalfabet 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.SwedishSignAlphabet; /*ww w .j a v a 2 s.c o m*/ import android.graphics.Bitmap; /** * Copyright? 2012, Grupp02 * * This file is part of Handalfabetet. * * Handalfabetet is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Handalfabetet is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Handalfabetet. If not, see <http://www.gnu.org/licenses/>. */ /** * The User class handles the User object. * * @author : Grupp02 * @version : 2012-10-19, v1.0 * */ public class User { private String userName; private String password; private int highScore; private Bitmap userImg; private int maxDifficulty; private int maxLetters; public User() { } public User(String userName) { this.userName = userName; } public User(String userName, int highScore) { this.userName = userName; this.highScore = highScore; } public User(String userName, Bitmap userImg) { this.userName = userName; this.userImg = userImg; } public User(String userName, int highScore, Bitmap userImg) { this.userImg = userImg; this.userName = userName; this.highScore = highScore; } public User(String userName, int highScore, Bitmap userImg, int maxDifficulty, int maxLetters) { this.userImg = userImg; this.userName = userName; this.highScore = highScore; this.maxDifficulty = maxDifficulty; this.maxLetters = maxLetters; } public String getName() { return userName; } public int getHighScore() { return highScore; } public String getPassword() { return password; } public Bitmap getUserImg() { return userImg; } public int getMaxDifficulty() { return maxDifficulty; } public int getMaxLetters() { return maxLetters; } public void setName(String userName) { this.userName = userName; } public void setHighScore(int highScore) { this.highScore = highScore; } public void setPassword(String password) { this.password = password; } public void setUserImg(Bitmap userImg) { this.userImg = userImg; } public void setMaxDifficulty(int maxDifficulty) { this.maxDifficulty = maxDifficulty; } public void setMaxLetters(int maxLetters) { this.maxLetters = maxLetters; } }