Android Open Source - FriendScore Player Object






From Project

Back to project page FriendScore.

License

The source code is released under:

MIT License

If you think the Android project FriendScore 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.prnk.friendscore;
/* w  w  w .jav  a2s. c  o  m*/
public class PlayerObject {
  private long id;
  private String firstName;
  private String lastName;
  private final String defaultString = "default";
  
  public PlayerObject(){
    this.firstName = defaultString;
    this.lastName = defaultString;
  }
  
  public PlayerObject(String first, String last){
    this.firstName = first;
    this.lastName = last;
  }
  
  public long GetId(){
    return this.id;
  }

  public void SetId(long id){
    this.id = id;
  }
  
  public void SetName(String first, String last){
    this.firstName = first;
    this.lastName = last;
  }
  
  public String GetFirstName(){
    return this.firstName;
  }
  
  public String GetLastName(){
    return this.lastName;
  }
}




Java Source Code List

com.prnk.friendscore.DashboardActivity.java
com.prnk.friendscore.DataBaseWrapper.java
com.prnk.friendscore.EditActivity.java
com.prnk.friendscore.GameObject.java
com.prnk.friendscore.PlayerObject.java
com.prnk.friendscore.ScoreObject.java
com.prnk.friendscore.TeamObject.java