Skip to content

Commit 2f7b0ea

Browse files
committed
Restore sprite helper methods
1 parent 47c5137 commit 2f7b0ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sim/simulator.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,14 @@ namespace pxsim {
226226
get height() {
227227
return this.canvas.height;
228228
}
229+
230+
private getWidth() {
231+
return this.width;
232+
}
233+
234+
private getHeight() {
235+
return this.height;
236+
}
229237
}
230238

231239
const palette = [

0 commit comments

Comments
 (0)