#ifndef MAPLOADER_H
#define MAPLOADER_H

#import <raylib.h>
#import <yeslib.h>
#import "parser.h"
//import all the stuff

/*
    this might do things like
    load the map
    set the current map
    unload some other map
*/

/*
    I may need a way to keep things persistent
    across maps.

    either by giving certain objects a persist flag
    or by putting them in a different array, or
    by copying the handler they're in.
*/

@interface MapLoader : YSObject {

}

-(void) loadMap: (const char *) path;
-(void) sendObject: (id) obj to: (YSArray *) receiver;

@end
#endif