JugiMap Framework
SourceGraphics Class Reference

The SourceGraphics class represents source graphics elements from JugiMap Editor. More...

#include <jmSourceGraphics.h>

Public Member Functions

 SourceGraphics ()
 Constructor. More...
 
 ~SourceGraphics ()
 Destructor. More...
 
void DeleteContent ()
 Delete stored SourceGraphics objects and GraphicFile objects. More...
 
std::vector< GraphicFile * > & GetFiles ()
 Returns a reference to the vector of stored graphic files. More...
 
std::vector< SourceSprite * > & GetSourceSprites ()
 Returns a reference to the vector of stored source sprites. More...
 

Detailed Description

The SourceGraphics class represents source graphics elements from JugiMap Editor.

A source graphic object stores SourceSprite objects and GraphicFile objects. It is their owner.

Constructor & Destructor Documentation

◆ SourceGraphics()

SourceGraphics ( )
inline

Constructor.

◆ ~SourceGraphics()

Destructor.

Member Function Documentation

◆ DeleteContent()

void DeleteContent ( )

Delete stored SourceGraphics objects and GraphicFile objects.

◆ GetFiles()

std::vector<GraphicFile*>& GetFiles ( )
inline

Returns a reference to the vector of stored graphic files.

◆ GetSourceSprites()

std::vector<SourceSprite*>& GetSourceSprites ( )
inline

Returns a reference to the vector of stored source sprites.


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