Skip to content
Browse files

release branch

  • Loading branch information...
1 parent f09ebff commit dce503b98e6073c316d82fea219e95aea9d7245c @LindseyB LindseyB committed Oct 24, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 dataScore.d
View
6 dataScore.d
@@ -5,13 +5,17 @@ import ncurses;
import tango.io.Stdout;
import tango.util.Convert;
+import asciiSprite;
+
class DataScore {
int _score;
char[] _title;
+ AsciiSprite _cron;
this(char[] title) {
_score = 0;
_title = title;
+ _cron = new AsciiSprite("graphics/cron-not-so-mini.txt", null, false, 52, 1);
}
void increaseScore(int value) {
@@ -61,5 +65,7 @@ class DataScore {
move(5,i);
addch('#');
}
+
+ _cron.drawSprite();
}
}

0 comments on commit dce503b

Please sign in to comment.
Something went wrong with that request. Please try again.