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.
Definition

class BooleanSetting : public Setting

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

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

Parameters
identifier The setting's unique identifier.
title The title of the setting.
value The initial value of the setting.
Description
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.