SHOW:
|
|
- or go back to the newest paste.
1 | package; | |
2 | ||
3 | import openfl.Lib; | |
4 | ||
5 | /** | |
6 | * ... | |
7 | * @author Reka | |
8 | */ | |
9 | class Leaderboard | |
10 | { | |
11 | public var playerName:String; | |
12 | public var playerScore:Int; | |
13 | ||
14 | public function new(newName:String, newScore:Int) | |
15 | { | |
16 | playerName = newName; | |
17 | playerScore = newScore; | |
18 | } | |
19 | } |