Skip to main content

Interface: ExtendedHatStyleInfo

ide/vscode/VscodeEnabledHatStyleManager.ExtendedHatStyleInfo

Hierarchy

Properties

color

color: "default" | "blue" | "green" | "red" | "pink" | "yellow" | "userColor1" | "userColor2"

Defined in

ide/vscode/VscodeEnabledHatStyleManager.ts:15


penalty

penalty: number

The penalty for this hat style. The lower the penalty, the better the hat. It is recommended to have a penalty associated with each style component (eg color, shape, etc), corresponding to how many syllables are required to utter the given style component. As each style is a combination of 0 or more components, the total penalty for a style is the sum of the penalties of its components.

Inherited from

HatStyleInfo.penalty

Defined in

libs/common/ide/types/Hats.ts:22


shape

shape: "default" | "ex" | "fox" | "wing" | "hole" | "frame" | "curve" | "eye" | "play" | "bolt" | "crosshairs"

Defined in

ide/vscode/VscodeEnabledHatStyleManager.ts:16