1#ifndef YAZE_APP_ZELDA3_DUNGEON_OBJECT_TEMPLATES_H
2#define YAZE_APP_ZELDA3_DUNGEON_OBJECT_TEMPLATES_H
7#include "absl/status/status.h"
8#include "absl/status/statusor.h"
37 absl::Status
LoadTemplates(
const std::string& directory_path);
41 const std::string& directory_path);
51 const std::vector<RoomObject>& objects,
int origin_x,
int origin_y);
55 int x,
int y,
Rom* rom);
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
static ObjectTemplate CreateFromObjects(const std::string &name, const std::string &description, const std::vector< RoomObject > &objects, int origin_x, int origin_y)
std::vector< ObjectTemplate > templates_
const std::vector< ObjectTemplate > & GetTemplates() const
std::vector< RoomObject > InstantiateTemplate(const ObjectTemplate &tmpl, int x, int y, Rom *rom)
absl::Status LoadTemplates(const std::string &directory_path)
absl::Status SaveTemplate(const ObjectTemplate &tmpl, const std::string &directory_path)
~ObjectTemplateManager()=default
std::vector< TemplateObject > objects