Skip to content

Commit

Permalink
try again 2
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasRamos5 committed Jul 10, 2023
1 parent f306720 commit 5cd6d50
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions _notebooks/2023-06-13-Mario.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -775,21 +775,12 @@
" x, \n",
" y \n",
" }\n",
" this.image = new Image()\n",
" this.image.src = image\n",
" this.image = image\n",
" this.width = 175\n",
" this.height = 200\n",
" this.velocity = {\n",
" x: 0 \n",
" }\n",
" this.image.onload = () => {\n",
" if (!width) {\n",
" this.width = this.image.naturalWidth;\n",
" }\n",
" if (!height) {\n",
" this.height = this.image.naturalHeight;\n",
" }\n",
" }\n",
" }\n",
"\n",
" draw() {\n",
Expand Down

0 comments on commit 5cd6d50

Please sign in to comment.