QtCraft API C++ classes QML types Handbook

GameSwitch QML Type

The game's on/off switch (decision E-845): a blocky knob on a sunken track, the track in the accent while on. More...

Import Statement: import QtCraft
Inherits:

Switch

Methods

Detailed Description

Settings show it through SettingSwitch; lists (texture packs, mods) use it in their rows. Needs an Accessible.name from its user.

Method Documentation

flip()

A change by the player: toggled() follows it as after a click.