📗Loader

The loader loads data from a YAML file or SQL database.

The loader must be registered in the main class.

There are two types of loader:

  1. File loader

  2. Database loader

Loader methods:

void load(); //loads data

List<T> getData(); //Gets loaded data

void unload(); //Unloads data

void addObject(T type); //Adds new object to loaded data

void removeObject(T type); //Removes object from loaded data

//type is an object that extends Model