package models;

import java.io.Serializable;

/**
 * Author:      Lorenzo Iovino on 18/06/2017.
 * Description: Main
 */
public class User implements Serializable{

    public String userName;
    public String password;
    public Integer score = 0;

    public User(String userName, String password, Integer score){
        this.userName = userName;
        this.password = password;
        this.score = score;
    }

    public void addScore(Integer score){
        this.score += score;
    }
}
