fixing debug message

This commit is contained in:
Peli de Halleux 2017-01-18 16:12:58 -08:00
parent 595eb788b2
commit f0ac2b7a05

View File

@ -28,7 +28,7 @@ namespace pxsim {
this.data = data;
}
public print() {
pxt.debug(`Image id:${this.id} refs:${this.refcnt} size:${this.width}x${Image.height}`)
// console.debug(`Image id:${this.id} refs:${this.refcnt} size:${this.width}x${Image.height}`)
}
public get(x: number, y: number): number {
if (x < 0 || x >= this.width || y < 0 || y >= 5) return 0;