From 930ba01f17ddd342e58ac2e1a238fbd575a5231c Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Tue, 22 Sep 2020 20:11:51 +1000 Subject: [PATCH] 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`. --- examples/Game/Ship.js | 4 ++-- examples/Game/SpaceRock.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Game/Ship.js b/examples/Game/Ship.js index 090bc4bd..fc6a2bae 100644 --- a/examples/Game/Ship.js +++ b/examples/Game/Ship.js @@ -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; @@ -118,4 +118,4 @@ window.Ship = createjs.promote(Ship, "Container"); -}(window)); \ No newline at end of file +}(window)); diff --git a/examples/Game/SpaceRock.js b/examples/Game/SpaceRock.js index e3dd5375..334bf18f 100644 --- a/examples/Game/SpaceRock.js +++ b/examples/Game/SpaceRock.js @@ -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