ClanSoft logo
ClanSoft logo

    CL_SpriteProvider::create

Syntax

static CL_Surface *create(
        const char *surface_id,
        CL_InputSourceProvider *datafile);

Description

Loads the sprite surface_id from the inputsource provider datafile. Creates a surface using this sprite (surfaceprovider) and returns it.
This function is a easier way of typing:
CL_Surface::create(new CL_Sprite(surface_id, datafile), true);


Back to index



This page was built using the Perceps documentation system.