Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
bomberman::util Namespace Reference

Small shared utility helpers that do not belong to the networking, simulation, or scene subsystems. More...

Classes

struct  PlayerColor
 

Functions

constexpr PlayerColor colorForPlayerId (const uint8_t playerId)
 

Variables

constexpr std::array< PlayerColor, 8 > kPlayerColors
 
constexpr std::size_t kPlayerColorCount = kPlayerColors.size()
 

Detailed Description

Small shared utility helpers that do not belong to the networking, simulation, or scene subsystems.

Variable Documentation

◆ kPlayerColors

constexpr std::array<PlayerColor, 8> bomberman::util::kPlayerColors
constexpr
Initial value:
= {{
{0xFF, 0x22, 0x22},
{0x22, 0xFF, 0x22},
{0x22, 0x88, 0xFF},
{0xFF, 0xFF, 0x22},
{0xFF, 0x88, 0x22},
{0xD4, 0x4D, 0xFF},
{0x22, 0xFF, 0xD5},
{0xFF, 0x66, 0xB3},
}}