Add 'clear screen' block to brick category (#100)
This commit is contained in:
committed by
Peli de Halleux
parent
6a4e64eac0
commit
e591bed6ad
@ -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) {
|
||||
|
Reference in New Issue
Block a user