main classes: - LAGx/simpllight GitHub Wiki

class spl::Window

  • main class, which control window and view.

for adding Drawable object for blitting you need to do this construction:

spl::ToDraw draw = { &some_shape, depthRender}; spl::Window::allDrawable.push_back(draw);

some_shape is drawable object. depthRender - where will blit image( relative z axis).

struct spl::ToWraw

  • struct, which need to adding some drawable objects(links of this objects) to list of drawing

class State

  • contains main configures for current game;