package com.HangmanFree.model;

/**
 * Created by Vlad on 24.08.2015.
 */
public class Score {
    private int id;
    private String playerName;
    private int playerScore;

    public Score() {
    }

    public Score(int playerScore) {
        this.playerScore = playerScore;
    }

    public Score(int id, String playerName, int playerScore) {
        this.id = id;
        this.playerName = playerName;
        this.playerScore = playerScore;
    }

    public Score(String playerName, int playerScore) {
        this.playerName = playerName;
        this.playerScore = playerScore;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPlayerName() {
        return playerName;
    }

    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }

    public int getPlayerScore() {
        return playerScore;
    }

    public void setPlayerScore(int playerScore) {
        this.playerScore = playerScore;
    }

    @Override
    public String toString() {
        return "Score{" +
                "id=" + id +
                ", playerName='" + playerName + '\'' +
                ", playerScore=" + playerScore +
                '}';
    }
}
