|
Jagguar Game Engine
|
#include <IScript.hpp>


Public Member Functions | |
| IScript (std::string name, std::string filepath) | |
| ~IScript () | |
Public Member Functions inherited from Component | |
| Component () | |
| ~Component () | |
| virtual void | Update (SDL_Event e, int frame, std::vector< std::string > broadcastList) |
| virtual void | Render (SDL_Renderer *ren) |
| virtual void | ShowComponentEditor (bool *showEditor) |
| virtual bool | HasTag (ComponentTag t) |
| virtual const char * | ComponentTypeName () |
| void | ParseAndUpdateBroadcast (std::vector< std::string > broadcastList) |
Private Attributes | |
| std::string | m_name |
| std::string | m_filepath |
| std::fstream * | m_file |
Additional Inherited Members | |
Protected Attributes inherited from Component | |
| std::vector< ComponentTag > | tags |
| std::vector< std::string > | previousBroadcasts |
| std::vector< std::string > | pendingBroadcasts |
A Component implementation to allow for running arbitrary scripts in the game.
| IScript::IScript | ( | std::string | name, |
| std::string | filepath | ||
| ) |
Construct a new IScript object
| name | the display name of the script |
| filepath | the path to the script's file |
| IScript::~IScript | ( | ) |
Destroy the IScript object