/******************************************************************************
*	File		-	script.h
*	Author		-	Joey Pollack
*	Date		-	2022/01/18 (y/m/d)
*	Mod Date	-	2022/01/18 (y/m/d)
*	Description	-	Holds data for a LUA script
******************************************************************************/

#ifndef SCRIPT_H_
#define SCRIPT_H_

#include "asset.h"

#include <string>
#include <vector>

namespace lunarium
{
    class Script : public Asset
    {
        public:
            void SetScript(const char* script);
            const char* GetScript() const;

            void AddError(std::string error);
            const std::vector<std::string>* GetErrors() const;
        private:

        std::string mScript;
        std::vector<std::string> mScriptErrors;
    };
}

#endif  // SCRIPT_H_