SpriteLayer.replaceSprite

Replaces the bitmap of the given sprite.

  1. void replaceSprite(ABitmap s, int n)
    class SpriteLayer
    @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, Coordinate c)

Meta