Did a small refactoring
This commit is contained in:
@@ -46,7 +46,21 @@ public:
|
||||
int get_layout_count() const;
|
||||
int get_children_count(flecs::entity base_e) const;
|
||||
struct graph_module {
|
||||
flecs::entity GraphSolve;
|
||||
|
||||
flecs::entity get_layout_grid_base();
|
||||
flecs::entity get_layout_base();
|
||||
flecs::entity create_cell(flecs::entity floor_e,
|
||||
flecs::entity region_e, int id);
|
||||
bool have_cell(flecs::entity floor_e, int id);
|
||||
void grow_cell(flecs::entity seed_e, int id);
|
||||
void queue_grow_cell(flecs::entity seed_e, int id);
|
||||
void growth_module(flecs::world &ecs,
|
||||
const String &module_name);
|
||||
void create_floor_components(
|
||||
flecs::entity floor_e, flecs::entity base_floor_e,
|
||||
const WorldEditor::components::buildings_layout_grid_size
|
||||
&size);
|
||||
graph_module(flecs::world &ecs);
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user