Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs: Fix simple typo, ammount -> amount
There is a small typo in examples/Game/Ship.js, examples/Game/SpaceRock.js.

Should read `amount` rather than `ammount`.
  • Loading branch information
timgates42 committed Sep 22, 2020
commit 930ba01f17ddd342e58ac2e1a238fbd575a5231c
4 changes: 2 additions & 2 deletions examples/Game/Ship.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
}

p.accelerate = function () {
//increase push ammount for acceleration
//increase push amount for acceleration
this.thrust += this.thrust + 0.6;
if (this.thrust >= Ship.MAX_THRUST) {
this.thrust = Ship.MAX_THRUST;
Expand All @@ -118,4 +118,4 @@

window.Ship = createjs.promote(Ship, "Container");

}(window));
}(window));
2 changes: 1 addition & 1 deletion examples/Game/SpaceRock.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
p.bounds; //visual radial size
p.hit; //average radial disparity
p.size; //size value itself
p.spin; //spin ammount
p.spin; //spin amount
p.score; //score value

p.vX; //velocity X
Expand Down