R-Type  2
Doom but in better
Loading...
Searching...
No Matches
GUI::ECS::Components Namespace Reference

Data Structures

class  AnimationComponent
 
class  ButtonComponent
 Manages button functionalities, including appearance, position, and callbacks. More...
 
class  ImageComponent
 Represents an image component in the GUI ECS system. More...
 
class  MusicComponent
 Manages music playback and properties for an entity in the ECS system. More...
 
class  ShapeComponent
 Manages shapes and their associated properties in the ECS framework. More...
 
class  SpriteComponent
 Represents a drawable and interactive sprite in the ECS system. More...
 
class  TextComponent
 A class that represents a text component in the GUI system. It manages font, size, color, and position of text entities in a graphical application. More...
 
class  TextureComponent
 Represents a texture component used in an entity component system. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const AnimationComponent &item)
 Outputs the animation's info to a stream.
 
std::ostream & operator<< (std::ostream &os, const ButtonComponent &item)
 Outputs the button's info to a stream.
 
std::ostream & operator<< (std::ostream &os, const GUI::ECS::Components::ImageComponent &item)
 Outputs the text's info to a stream.
 
std::ostream & operator<< (std::ostream &os, const MusicComponent &item)
 Outputs the music's info to a stream.
 
std::ostream & operator<< (std::ostream &os, const ShapeComponent &item)
 Outputs the shape's info to a stream.
 
std::ostream & operator<< (std::ostream &os, const SpriteComponent &item)
 Outputs the sprite's info to a stream.
 
std::ostream & operator<< (std::ostream &os, const TextComponent &item)
 Outputs the text's info to a stream.
 
std::ostream & operator<< (std::ostream &os, const TextureComponent &item)
 Outputs the texture's info to a stream.
 

Function Documentation

◆ operator<<() [1/8]

std::ostream & GUI::ECS::Components::operator<< ( std::ostream & os,
const AnimationComponent & item )

Outputs the animation's info to a stream.

Parameters
osThe output stream.
itemThe animation to output.
Returns
The modified output stream.

Definition at line 742 of file AnimationComponent.cpp.

◆ operator<<() [2/8]

std::ostream & GUI::ECS::Components::operator<< ( std::ostream & os,
const ButtonComponent & item )

Outputs the button's info to a stream.

Parameters
osThe output stream.
itemThe button to output.
Returns
The modified output stream.

Definition at line 388 of file ButtonComponent.cpp.

◆ operator<<() [3/8]

std::ostream & GUI::ECS::Components::operator<< ( std::ostream & os,
const GUI::ECS::Components::ImageComponent & item )

Outputs the text's info to a stream.

Parameters
osThe output stream.
itemThe text to output.
Returns
The modified output stream.

Definition at line 451 of file ImageComponent.cpp.

◆ operator<<() [4/8]

std::ostream & GUI::ECS::Components::operator<< ( std::ostream & os,
const MusicComponent & item )

Outputs the music's info to a stream.

Parameters
osThe output stream.
itemThe music to output.
Returns
The modified output stream.

Definition at line 377 of file MusicComponent.cpp.

◆ operator<<() [5/8]

std::ostream & GUI::ECS::Components::operator<< ( std::ostream & os,
const ShapeComponent & item )

Outputs the shape's info to a stream.

Parameters
osThe output stream.
itemThe shape to output.
Returns
The modified output stream.

Definition at line 602 of file ShapeComponent.cpp.

◆ operator<<() [6/8]

std::ostream & GUI::ECS::Components::operator<< ( std::ostream & os,
const SpriteComponent & item )

Outputs the sprite's info to a stream.

Parameters
osThe output stream.
itemThe sprite to output.
Returns
The modified output stream.

Definition at line 807 of file SpriteComponent.cpp.

◆ operator<<() [7/8]

std::ostream & GUI::ECS::Components::operator<< ( std::ostream & os,
const TextComponent & item )

Outputs the text's info to a stream.

Parameters
osThe output stream.
itemThe text to output.
Returns
The modified output stream.

Definition at line 646 of file TextComponent.cpp.

◆ operator<<() [8/8]

std::ostream & GUI::ECS::Components::operator<< ( std::ostream & os,
const TextureComponent & item )

Outputs the texture's info to a stream.

Parameters
osThe output stream.
itemThe texture to output.
Returns
The modified output stream.

Definition at line 219 of file TextureComponent.cpp.