-
Notifications
You must be signed in to change notification settings - Fork 2
ds_wfc_base_continuous
Inherits: ds_wfc_gen
Inherited By: ds_wfc_gen_c_tile and ds_wfc_gen_expand
Base class for all the continuous Wave Function Collapse generator objects.
ds_wfc_base_continuous is the parent/base class for all the stage generator scripts that uses continuous Wave Function Collapse for generating stages.
Type | Name | Default Value |
---|---|---|
DS_Tile[] | _tiles_connect | |
DS_Tile | _tile_connect | |
DS_Tile | _tile_searched |
Return Type | Name |
---|---|
void | add_tile_to_connect( DS_Tile tile ) |
void | process_connect_tiles() |
int | get_edge_x( DS_Tile tile, int edge ) |
int | get_edge_y( DS_Tile tile, int edge ) |
int | get_edge_z( DS_Tile tile, int edge ) |
DS_Tile[] _tiles_connect
An array of newly created tiles that needs to be connected to the current grid and tiles in it. Basically these are tiles that needs to be processed by connecting them to the neighbouring tiles.
DS_Tile _tile_connect
The tile to connect to the current grid and tiles in it.
DS_Tile _tile_searched
The neighbouring tiles of the newly created tile. These neighbouring tiles are later connected to the newly created tile.
void add_tile_to_connect ( DS_Tile tile )
This method adds a tile to be processed for connecting with other tiles.
This method handles the newly added tile connection processing. Basically this is the method where the tiles are connected.
This method gets the x coordinate value from the given tile
for the given edge
parameter.
This method gets the y coordinate value from the given tile
for the given edge
parameter.
This method gets the z coordinate value from the given tile
for the given edge
parameter.
TOOLS
CLASS REFERENCE
- Generators
-
- Wave Function Collapse
- Grids
- Tiles