SpriteFactory.SpriteUpdater.AddSprite
C#: int AddSprite (SpriteFactory.Sprite sprite)
JS: function AddSprite (sprite : SpriteFactory.Sprite) : int
Description
Add a Sprite to SpriteUpdater. The Sprite will be updated by SpriteUpdater during its update cycle.
Returns the index in array where Sprite was added.
Returns -1 if Sprite could not be added.