8#ifndef GALAXY_SCRIPTING_SCRIPT_HPP_ 
    9#define GALAXY_SCRIPTING_SCRIPT_HPP_ 
   33            Script(
const std::string& file);
 
   46            bool load(
const std::string& file);
 
 
A basic script is usually only run once or run when something specific happens.
 
bool load(const std::string &file)
Load a script.
 
sol::protected_function_result run_and_return()
Run a lua script and get a return value.
 
sol::load_result m_script
Script loaded into sol3 memory.
 
bool m_loaded
Flag to make sure script is loaded.
 
bool run()
Run a lua script.