You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just reading through the docs and noticed that our Sprite constructor is documented as a public function.
However, another method we have to create sprites is the createSprite function, which actually seems preferable, because it adds the newly-created spite to allSprites. Should we actually deprecate using the Sprite constructor directly, or mention in its documentation that the reader will probably want to use createSprite instead?
The text was updated successfully, but these errors were encountered:
I was just reading through the docs and noticed that our
Sprite
constructor is documented as a public function.However, another method we have to create sprites is the
createSprite
function, which actually seems preferable, because it adds the newly-created spite toallSprites
. Should we actually deprecate using theSprite
constructor directly, or mention in its documentation that the reader will probably want to usecreateSprite
instead?The text was updated successfully, but these errors were encountered: