SpriteLayer.addSprite

Adds a sprite to the layer.

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

Meta