ISpriteLayer.replaceSprite

Replaces the sprite. If the new sprite has a different dimension, the old sprite's upper-left corner will be used.

  1. void replaceSprite(ABitmap s, int n)
    interface ISpriteLayer
    @trusted nothrow
    void
    replaceSprite
    (
    ABitmap s
    ,
    int n
    )
  2. void replaceSprite(ABitmap s, int n, int x, int y)
  3. void replaceSprite(ABitmap s, int n, Box c)

Meta