Revisão 18
Future Places RC
| Logo.pde | ||
|---|---|---|
| 13 | 13 |
|
| 14 | 14 |
} |
| 15 | 15 |
|
| 16 |
void draw (int balance, int whites, int blacks)
|
|
| 16 |
void draw (int timer, int whites, int blacks)
|
|
| 17 | 17 |
{
|
| 18 | 18 |
|
| 19 | 19 |
//println ("drawing!");
|
| ... | ... | |
| 21 | 21 |
|
| 22 | 22 |
textFont (_bold_, 60); |
| 23 | 23 |
text ("LIGHT", 10, 55);
|
| 24 |
text ( timer, 10, _game_.height - 10 ); |
|
| 24 | 25 |
textFont (_bold_, 24); |
| 25 | 26 |
text (whites + " cells", 186, 31); |
| 26 |
text ("23 battles", 186, 55);
|
|
| 27 |
text ( _game_.lightBattles + " battles", 186, 55); |
|
| 28 |
|
|
| 27 | 29 |
|
| 28 | 30 |
fill (0); |
| 29 | 31 |
scale (-1 , 1); |
| 30 | 32 |
textFont (_bold_, 57); |
| 31 | 33 |
text ("BLACK", -_game_.width + 12, 55);
|
| 34 |
text ( timer, -_game_.width + 12, _game_.height - 10 ); |
|
| 32 | 35 |
textFont (_bold_, 24); |
| 33 | 36 |
text (blacks + " cells", -_game_.width + 190, 31); |
| 34 |
text ("1 battles", -_game_.width + 190, 55);
|
|
| 37 |
text ( _game_.blackBattles + " battles", -_game_.width + 190, 55);
|
|
| 35 | 38 |
scale (-1, 1); |
| 39 |
|
|
| 40 |
|
|
| 36 | 41 |
} |
| 37 |
} |
|
| 42 |
} |
|
Também disponível em: Unified diff