Player12
An open source football management simulator
Loading...
Searching...
No Matches
Stadium3D::CrowdFlags Namespace Reference

Variables

constexpr std::byte HOME_FAN = std::byte{1} << 0U
 
constexpr std::byte AWAY_FAN = std::byte{1} << 1U
 
constexpr std::byte CHEERS_HOME = std::byte{1} << 2U
 
constexpr std::byte CHEERS_AWAY = std::byte{1} << 3U
 
constexpr std::byte SCARF = std::byte{1} << 4U
 

Detailed Description

Allegiance and props of a spectator (bit flags).

Variable Documentation

◆ AWAY_FAN

constexpr std::byte Stadium3D::CrowdFlags::AWAY_FAN = std::byte{1} << 1U
inlineconstexpr

◆ CHEERS_AWAY

constexpr std::byte Stadium3D::CrowdFlags::CHEERS_AWAY = std::byte{1} << 3U
inlineconstexpr

◆ CHEERS_HOME

constexpr std::byte Stadium3D::CrowdFlags::CHEERS_HOME = std::byte{1} << 2U
inlineconstexpr

Jumps up when the home or the away side scores.

◆ HOME_FAN

constexpr std::byte Stadium3D::CrowdFlags::HOME_FAN = std::byte{1} << 0U
inlineconstexpr

◆ SCARF

constexpr std::byte Stadium3D::CrowdFlags::SCARF = std::byte{1} << 4U
inlineconstexpr

Holds a scarf in the team colours over the head when celebrating.