![]()  | 
  
    Shkyera Engine
    
   Easy to use, game engine for Python 
   | 
 
A base class for logs that contain textual content. More...
#include <ConsoleWidget.hpp>
Public Member Functions | |
| Log (const std::string &content) | |
| Constructor to create a log with the specified content.   | |
| virtual void | draw () const | 
| Virtual method to draw the log in the user interface.   | |
| void * | getIconId () const | 
| Virtual method to retrieve an icon identifier associated with the log.   | |
Public Attributes | |
| std::string | _content | 
| The text content of the log.   | |
| AssetRef< Texture > | _icon | 
A base class for logs that contain textual content.
| shkyera::Log::Log | ( | const std::string & | content | ) | 
Constructor to create a log with the specified content.
| content | The text content of the log. | 
      
  | 
  virtual | 
Virtual method to draw the log in the user interface.
| void * shkyera::Log::getIconId | ( | ) | const | 
Virtual method to retrieve an icon identifier associated with the log.
| std::string shkyera::Log::_content | 
The text content of the log.