Android Open Source - TokenTracker Player






From Project

Back to project page TokenTracker.

License

The source code is released under:

GNU General Public License

If you think the Android project TokenTracker 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.ekflagristoj.tokentracker.util;
//from  w  ww . ja v a 2s.c o m
public class Player
{
  private String name;
  private int life;
  private int poison;
  
  public void setName( String value )
  {
    this.name = value;
  }
  public void setLife( int value )
  {
    this.life = value;
  }
  private void setPoison( int value )
  {
    this.poison = value;
  }
  
  public String getName()
  {
    return this.name;
  }
  public int getLife()
  {
    return this.life;
  }
  public int getPoison()
  {
    return this.poison;
  }
  
  public Player()
  {
    this.setName( "" );
    this.setLife( 20 );
    this.setPoison( 0 );
  }
  public Player( String name, int life, int poison ) {
    this.setName( name );
    this.setLife( life );
    this.setPoison( poison );
  }
}




Java Source Code List

com.ekflagristoj.tokentracker.CreatePlayerActivity.java
com.ekflagristoj.tokentracker.CreateTokenActivity.java
com.ekflagristoj.tokentracker.MainActivity.java
com.ekflagristoj.tokentracker.RandomizerActivity.java
com.ekflagristoj.tokentracker.SpawnTokenActivity.java
com.ekflagristoj.tokentracker.util.Card.java
com.ekflagristoj.tokentracker.util.DatabaseHelper.java
com.ekflagristoj.tokentracker.util.Player.java
com.ekflagristoj.tokentracker.util.Randomizer.java
com.ekflagristoj.tokentracker.util.TokenDataSource.java
com.ekflagristoj.tokentracker.util.Token.java