RType
Public Member Functions | List of all members
Spawner Class Reference

#include <Spawner.hpp>

Inheritance diagram for Spawner:
Inheritance graph
[legend]
Collaboration diagram for Spawner:
Collaboration graph
[legend]

Public Member Functions

 Spawner (std::shared_ptr< ServerSocket > serverSocket)
 
void update (std::shared_ptr< Event > event, std::shared_ptr< IComponentRType > component) override
 update, update the service More...
 
- Public Member Functions inherited from AService
 AService (std::shared_ptr< ServerSocket > serverSocket)
 Construct a new AService:: AService object. More...
 
 ~AService () override=default
 Destroy the AService:: AService object. More...
 
- Public Member Functions inherited from IService
virtual ~IService ()=default
 Construct a new IService:: IService object. More...
 
virtual void update (IGame *game, std::vector< IObject * > objects)=0
 

Additional Inherited Members

- Protected Attributes inherited from IService
std::shared_ptr< ServerSocket_serverSocket
 

Detailed Description

Definition at line 15 of file Spawner.hpp.

Constructor & Destructor Documentation

◆ Spawner()

Spawner::Spawner ( std::shared_ptr< ServerSocket serverSocket)
inlineexplicit

Definition at line 17 of file Spawner.hpp.

Member Function Documentation

◆ update()

void Spawner::update ( std::shared_ptr< Event event,
std::shared_ptr< IComponentRType component 
)
overridevirtual

update, update the service

Parameters
event
component

Implements AService.

Definition at line 12 of file Spawner.cpp.


The documentation for this class was generated from the following files: