Add 'clear screen' block to brick category (#100)

This commit is contained in:
Caitlin Hennessy
2017-12-15 14:29:10 -08:00
committed by Peli de Halleux
parent 6a4e64eac0
commit e591bed6ad
4 changed files with 26 additions and 14 deletions

View File

@ -30,6 +30,7 @@ namespace pxsim {
clear() {
for (let i = 0; i < this.points.length; ++i)
this.points[i] = 0;
this.shouldUpdate = true;
}
blitLineCore(x: number, y: number, w: number, buf: RefBuffer, mode: Draw, offset = 0) {