Skip to main content

RoomFixPluginInstance

A class in Root.Township, Alta.Caves.

Plugin instance for a RoomFixPlugin that keeps the centres of the two biggest rooms found on the layer.

Constructors​

MemberWhat it is
RoomFixPluginInstance(IGenerator generator, Plugin plugin, bool isEnabled)Creates a RoomFixPluginInstance from generator, plugin and isEnabled.

Properties​

MemberWhat it is
Vector2 BiggestRoomAverage { get; set; }Centre of the biggest room (with a small random shift); set by RoomFixesInstance and used for the entrance from above.
Vector2 SecondBiggestRoomAverage { get; set; }Centre of the second biggest room; used for the passage down to the next layer.