Created
October 24, 2016 10:17
-
-
Save JoseluDAM2000/6ada33034e8b42cb0b57f700f3c6e4dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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