summaryrefslogtreecommitdiff
path: root/hscript/script.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/script.hh')
-rw-r--r--hscript/script.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hscript/script.hh b/hscript/script.hh
index 8cf6c2a..e664f58 100644
--- a/hscript/script.hh
+++ b/hscript/script.hh
@@ -80,6 +80,12 @@ public:
/*! Executes the HorizonScript. */
bool execute() const;
+ /*! Retrieve the current target directory. */
+ const std::string targetDirectory() const;
+
+ /*! Set the current target directory. */
+ void setTargetDirectory(const std::string &dir);
+
/*! Retrieve the value of a specified key in this HorizonScript.
* @param name The name of the key to retrieve.
* @return The key object, if one exists. nullptr if the key has not been