Jagguar Game Engine
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
IScript Class Reference

#include <IScript.hpp>

Inheritance diagram for IScript:
Inheritance graph
[legend]
Collaboration diagram for IScript:
Collaboration graph
[legend]

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
 

Detailed Description

A Component implementation to allow for running arbitrary scripts in the game.

Constructor & Destructor Documentation

◆ IScript()

IScript::IScript ( std::string  name,
std::string  filepath 
)

Construct a new IScript object

Parameters
namethe display name of the script
filepaththe path to the script's file

◆ ~IScript()

IScript::~IScript ( )

Destroy the IScript object


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