Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Score
- {
- private static int score;
- public static void GainScore()
- {
- score = score + 1;
- }
- public static int GetScore()
- {
- return score;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement