Class Honeycomb
Defined in File honeycomb.h
Inheritance Relationships
Base Type
public sota::HexGrid(Class HexGrid)
Derived Types
public sota::HexagonalHoneycomb(Class HexagonalHoneycomb)public sota::RectHoneycomb(Class RectHoneycomb)
Class Documentation
-
class Honeycomb : public sota::HexGrid
Subclassed by sota::HexagonalHoneycomb, sota::RectHoneycomb
Public Functions
-
Honeycomb() = default
-
void set_noise(const Ref<FastNoiseLite> p_noise)
-
Ref<FastNoiseLite> get_noise() const
-
void set_bottom_offset(float p_ridge_bottom_offset)
-
float get_bottom_offset() const
-
void set_smooth_normals(bool p_smooth_normals)
-
bool get_smooth_normals() const
-
void set_honey_random_level(bool p_honey_random_level)
-
bool get_honey_random_level() const
-
void set_honey_min_offset(float p_honey_min_offset)
-
float get_honey_min_offset() const
-
void set_honey_max_gain(float p_honey_max_gain)
-
float get_honey_max_gain() const
-
void set_honey_fill_steps(int p_honey_fill_steps)
-
int get_honey_fill_steps() const
-
bool all_cells_empty() const
Protected Functions
-
virtual void init() override
-
virtual void make_tiles() override
-
virtual int calculate_honey_id_offset() = 0
Protected Static Functions
-
static void _bind_methods()
-
Honeycomb() = default