Skip to content

Commit

Permalink
Restore sprite helper methods
Browse files Browse the repository at this point in the history
  • Loading branch information
hwestphal committed Dec 29, 2019
1 parent 47c5137 commit 2f7b0ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sim/simulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,14 @@ namespace pxsim {
get height() {
return this.canvas.height;
}

private getWidth() {
return this.width;
}

private getHeight() {
return this.height;
}
}

const palette = [
Expand Down

0 comments on commit 2f7b0ea

Please sign in to comment.