- write: function(start_y, start_x, msg, foreground_color='black') {
- this.ctx.fillStyle = foreground_color;
+ write_cheap: function(start_y, start_x, msg) {
+ this.ctx.fillText(msg, start_x*this.charWidth, start_y*this.charHeight);
+ },
+ set_color: function(color) {
+ this.ctx.fillStyle = color;
+ },
+ write: function(start_y, start_x, msg, foreground_color='white') {
+ this.ctx.fillStyle = 'black';