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.
- Listed in World generation
- Inherits or implements
PluginInstance
Constructors
| Member | What it is |
|---|---|
RoomFixPluginInstance(IGenerator generator, Plugin plugin, bool isEnabled) | Creates a RoomFixPluginInstance from generator, plugin and isEnabled. |
Properties
| Member | What 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. |