Skip to main content

RoomFixes.Room

A class in Root.Township, Alta.Caves.PluginParts.

One open area found by the room fix flood fill.

Constructors​

MemberWhat it is
Room(int startX, int startY, int totalX, int totalY, int count, int group)Creates a RoomFixes.Room from startX, startY, totalX, totalY, count and group.

Fields​

MemberWhat it is
Vector2 averageAverage cell position of the room (its centre).
int countNumber of cells in the room.
int groupConnection group; rooms joined by a corridor share a group.
int startXX of the cell the flood fill started from.
int startYZ of the cell the flood fill started from.