ISpriteLayer.addSprite

Adds a sprite to the layer.

  1. void addSprite(ABitmap s, int n, Coordinate c, ushort paletteSel, int scaleHoriz, int scaleVert)
  2. void addSprite(ABitmap s, int n, int x, int y, ushort paletteSel, int scaleHoriz, int scaleVert)
    interface ISpriteLayer
    @safe nothrow
    void
    addSprite
    (
    ABitmap s
    ,
    int n
    ,
    int x
    ,
    int y
    ,
    ushort paletteSel = 0
    ,
    int scaleHoriz = 1024
    ,
    int scaleVert = 1024
    )

Meta