Skip to content

Instantly share code, notes, and snippets.

@JoseluDAM2000
Created October 24, 2016 10:17
Show Gist options
  • Save JoseluDAM2000/6ada33034e8b42cb0b57f700f3c6e4dd to your computer and use it in GitHub Desktop.
Save JoseluDAM2000/6ada33034e8b42cb0b57f700f3c6e4dd to your computer and use it in GitHub Desktop.
class Usuarios
{
private int puntuacion;
public Usuarios()
{
puntuacion = 0;
}
public void incrementarPuntuacion(int puntos)
{
puntuacion = puntuacion + puntos;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment