17 static std::shared_ptr<Fling::File>
Create(
Guid t_ID);
void LoadFile()
Loads the file based on Guid path.
Definition: File.cpp:18
Base class that represents a loaded resource in the engine.
Definition: Resource.h:11
bool IsLoaded() const
Returns true if this file resource is loaded or not (i.e.
Definition: File.h:43
entt::hashed_string Guid
Definition: FlingTypes.h:26
File(Guid t_ID)
Construct a new File object.
Definition: File.cpp:12
const char * GetData() const
Get char* that represents the text in this file.
Definition: File.h:31
std::vector< char > m_Characters
Array of characters that represents this file.
Definition: File.h:55
static std::shared_ptr< Fling::File > Create(Guid t_ID)
Definition: File.cpp:7
A file is a basic text file that contains a basic text file.
Definition: File.h:13
size_t GetFileLength() const
Get the File Length object.
Definition: File.h:38