Skip to content

Class Engine::MultiplayerSystem

ClassList > Engine > MultiplayerSystem

  • #include <MultiplayerSystem.hpp>

Inherits the following classes: Engine::System

Public Attributes inherited from Engine::System

See Engine::System

Type Name
std::set< Entity > m_Entities

Public Functions

Type Name
virtual void Update (Registry & registry, float dt) override
It will poll for new packets and send the pending ones.
~MultiplayerSystem () noexcept override

Public Functions inherited from Engine::System

See Engine::System

Type Name
virtual void OnSceneUnloaded (Registry & registry)
Called right before the current scene's entities are destroyed.
virtual void Render (Registry & registry)
World pass: drawn inside the active camera.
virtual void RenderScreen (Registry & registry)
Screen pass: drawn after the world, in window pixels.
virtual void Update (Registry & registry, float dt)
virtual ~System () = default

Public Functions Documentation

function Update

It will poll for new packets and send the pending ones.

virtual void Engine::MultiplayerSystem::Update (
    Registry & registry,
    float dt
) override

Parameters:

  • registry registry of the game
  • dt time elapsed since last update

Implements Engine::System::Update


function ~MultiplayerSystem

Engine::MultiplayerSystem::~MultiplayerSystem () noexcept override


The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Systems/MultiplayerSystem.hpp