Skip to content

Commit

Permalink
Don't publicly document Sprite constructor. Fixes #63.
Browse files Browse the repository at this point in the history
  • Loading branch information
toolness committed Mar 29, 2016
1 parent 9595a75 commit 6b5da80
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions lib/p5.play.js
Original file line number Diff line number Diff line change
Expand Up @@ -716,14 +716,10 @@ deltaTime = ((now - then) / 1000)/INTERVAL_60; // seconds since last frame
* A Sprite can have a collider that defines the active area to detect
* collisions or overlappings with other sprites and mouse interactions.
*
* To create a Sprite, use
* {{#crossLink "p5.play/createSprite:method"}}{{/crossLink}}.
*
* @class Sprite
* @constructor
* @param {Number} x Initial x coordinate
* @param {Number} y Initial y coordinate
* @param {Number} width Width of the placeholder rectangle and of the
* collider until an image or new collider are set
* @param {Number} height Height of the placeholder rectangle and of the
* collider until an image or new collider are set
*/

function Sprite(pInst, _x, _y, _w, _h) {
Expand Down

0 comments on commit 6b5da80

Please sign in to comment.