Function initGameMode

 initGameMode(name, r, g, b)

Initializes the Gamemode.

This function must be called first when creating a gamemode.

Parameters

- name Name of the game mode

- r Red value of the playfield frame

- g Green value of the playfield frame

- b Blue value of the playfield frame

Returns

nothing