Back to project page ScoreKeeper.
The source code is released under:
GNU General Public License
If you think the Android project ScoreKeeper 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.fletch.gamescorekeeper; // w ww . j a v a 2 s . c o m import java.io.Serializable; public class Player implements Serializable { private static final long serialVersionUID = -6444967563449830757L; private int score; private String name; public Player(String name) { score = 0; this.name = name; } public Player(String name, int score) { this.name = name; this.score = score; } public int getScore() { return score; } public void setScore(int score) { this.score = score; } public String getName() { return name; } public void setName(String name) { this.name = name; } }