HealthDepletedBehavior.ixx File
Bitmask flags controlling the response when health reaches zero. More...
Included Headers
#include <cstdint>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | mechanics |
|
High-level gameplay systems and components for game logic. More... | |
| namespace | health |
|
Health management system for game entities. More... | |
| namespace | types |
|
Type definitions for the health system. More... | |
Description
Bitmask flags controlling the response when health reaches zero.
File Listing
The file content with the documentation metadata removed is:
12export namespace helios::engine::mechanics::health::types {
20 enum class HealthDepletedBehavior : uint16_t {
47 [[nodiscard]] constexpr HealthDepletedBehavior operator|(HealthDepletedBehavior lhs, HealthDepletedBehavior rhs) noexcept {
48 return static_cast<HealthDepletedBehavior>(
62 [[nodiscard]] constexpr HealthDepletedBehavior operator&(HealthDepletedBehavior lhs, HealthDepletedBehavior rhs) noexcept {
63 return static_cast<HealthDepletedBehavior>(
76 [[nodiscard]] constexpr bool hasHealthDepletedFlag(const HealthDepletedBehavior mask, const HealthDepletedBehavior flag) noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.