Update SetScore and added some extensions
commited
commit
1a3fa7d880fb00cbd8d5842a62c3fad4cba4d905
... | ... | @@ -119,9 +119,16 @@ Game.Win(); |
119 | 119 | |
120 | 120 | Game.Lose(); |
121 | 121 | |
122 | Game.SetScore(num Score); |
|
122 | Game.SetScore(num Score, num Coins).MostPoints; |
|
123 | # SetScore extensions: |
|
124 | .MostPoints |
|
125 | .FewestPoints |
|
126 | .FastestTime |
|
127 | .LongestTime |
|
128 | ||
129 | # Add an .Perspective extension if it is enabled. if it isn't, then don't do anything |
|
130 | Game.SetCamera(vec Position, rot Rotation, num Distance).Perspective; |
|
123 | 131 | |
124 | Game.SetCamera(vec Position, rot Rotation, num Distance); |
|
125 | 132 | |
126 | 133 | Game.SetLight(vec Position, rot Rotation); |
127 | 134 |