For programmers
Prev
Next

For programmers

KTuberling isn't really difficult to extend for programmers.

C++ classes

TopLevel

Top-level window and basic program management

PlayGround

Description of one of the game levels

ToDraw

Description of one of the graphical “objects” to be drawn

SoundFactory

Description of one of the languages and its sounds

Action

One of the user's manipulation in the undo/redo stack

.tuberling files structure

A .tuberling file holds all the necessary data to redraw a tuberling. It can be edited with an ordinary text editor.

The first line holds the number of the playground.

On all other lines, there is one graphical object per line, in the order that is used to draw them. Each line contains 5 numbers: the identifier of the object, and the rectangle where it should be drawn (left, top, right, bottom). The numbers are separated by whitespaces.

Prev
Next
Home


Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team