Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CGUISprite Class Reference

The GUI sprite, is actually several real sprites (images) like a collage. More...

#include <CGUISprite.h>

Public Member Functions

 CGUISprite ()
 
virtual ~CGUISprite ()
 
void AddImage (std::unique_ptr< SGUIImage > image)
 Adds an image to the sprite collage. More...
 

Public Attributes

std::vector< std::unique_ptr< SGUIImage > > m_Images
 List of images. More...
 

Private Member Functions

 NONCOPYABLE (CGUISprite)
 

Detailed Description

The GUI sprite, is actually several real sprites (images) like a collage.

View the section <sprites> in the GUI TDD for more information.

Drawing routine is located in CGUI

See also
CGUI::DrawSprite

Constructor & Destructor Documentation

◆ CGUISprite()

CGUISprite::CGUISprite ( )
inline

◆ ~CGUISprite()

CGUISprite::~CGUISprite ( )
virtualdefault

Member Function Documentation

◆ AddImage()

void CGUISprite::AddImage ( std::unique_ptr< SGUIImage image)

Adds an image to the sprite collage.

Parameters
imageAdds this image to the sprite collage.

◆ NONCOPYABLE()

CGUISprite::NONCOPYABLE ( CGUISprite  )
private

Member Data Documentation

◆ m_Images

std::vector<std::unique_ptr<SGUIImage> > CGUISprite::m_Images

List of images.


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