Merge pull request #29 from antopilo/feature/nk-78-display-wren-script-in-properties
NK-78 - Display wren script in properties
This commit is contained in:
@@ -164,6 +164,11 @@ namespace Nuake
|
||||
WrenInterpretResult result = wrenCall(vm, handle);
|
||||
}
|
||||
|
||||
Ref<File> WrenScript::GetFile() const
|
||||
{
|
||||
return mFile;
|
||||
}
|
||||
|
||||
void WrenScript::SetScriptableEntityID(int id)
|
||||
{
|
||||
if (!m_HasCompiledSuccesfully)
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace Nuake
|
||||
|
||||
void RegisterMethod(const std::string& signature);
|
||||
void CallMethod(const std::string& signature);
|
||||
Ref<File> GetFile() const;
|
||||
|
||||
void SetScriptableEntityID(int id);
|
||||
bool HasCompiledSuccesfully() const { return m_HasCompiledSuccesfully; }
|
||||
|
||||
Reference in New Issue
Block a user