Sprite - Reapism/Skork GitHub Wiki

What is a sprite?

A sprite in Skork is essentially the building block of visualizing your code.

Example:

Sprite s; //creates a sprite called 's'

Like most things in Skork, every object created has a default state. The code above creates a sprite, places it on the grid with a default color and position.

Who Function on this sprite:

Sprite s; //creates a sprite called 's'// who(s);

Prints: s is a red sprite located at 0,0.