1#ifndef DANDELION_SCENE_GROUP_H
2#define DANDELION_SCENE_GROUP_H
7#include <spdlog/spdlog.h>
39 Group(
const std::string& group_name);
51 bool load(
const std::string& file_path);
53 std::vector<std::unique_ptr<Object>>
objects;
63 std::shared_ptr<spdlog::logger> logger;
Group(const std::string &group_name)
Group(Group &other)=delete
bool load(const std::string &file_path)
定义 group.cpp:33
std::vector< std::unique_ptr< Object > > objects
定义 group.h:53
static std::size_t next_available_id
定义 group.h:62
std::string name
定义 group.h:57
Group(const Group &other)=delete
std::size_t id
定义 group.h:55