C4 Engine
C4 Engine API Documentation

class BooleanSetting

Defined in:  C4Configuration.h
The BooleanSetting class is used for a boolean setting represented by a check box.

class BooleanSetting : public Setting

Member Functions
BooleanSetting::GetBooleanValue Returns the boolean value stored in the setting.

BooleanSetting(Type identifier, const char *title, bool value);

identifier The setting's unique identifier.
title The title of the setting.
value The initial value of the setting.
The BooleanSetting class represents a setting that displays a check box and has a boolean value.
Base Classes
Setting A BooleanSetting is a specific type of setting.