Class ColorVision
The colours that carry meaning in the game (hostile or friendly, better or worse), for the colour vision the player has chosen.
public static class ColorVision
- Inheritance
-
ColorVision
- Inherited Members
Remarks
The game's own colours lean on red against green: an enemy's name is red and an ally's green, a worse stat red and a better one green. That is the pair the commonest colour blindness (red-green, about one man in twelve) cannot tell apart, so the one thing those colours exist to say is lost. For the three kinds of colour blindness the meanings move to colours from the Okabe-Ito palette, chosen to stay distinct under each: hostile vermillion against friendly sky blue for red-green, hostile vermillion against friendly bluish green for blue-yellow, with neutral apart from both.
Shared, because the meaning is decided in shared code (FactionController, the tooltip builders); the client sets Mode from the player's options. A server never sets it and keeps the game's own colours.
Properties
Bad
A penalty, an unmet requirement: the tooltip's bad tone.
public static Color Bad { get; }
Property Value
- Color
Friendly
An allied character's colour.
public static Color Friendly { get; }
Property Value
- Color
Good
An improvement, a met requirement: the tooltip's good tone.
public static Color Good { get; }
Property Value
- Color
Hostile
A hostile or enemy character's colour.
public static Color Hostile { get; }
Property Value
- Color
Mode
The colour vision the game's colours are adapted to.
public static ColorVisionMode Mode { get; set; }
Property Value
Neutral
A neutral character's colour.
public static Color Neutral { get; }
Property Value
- Color
Events
OnModeChanged
Raised when Mode changes.
public static event Action OnModeChanged