mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-01 20:33:38 +02:00
1.7 KiB
1.7 KiB
ExportedLot
Namespace: TinyLife > World
Assembly: Tiny Life.dll
Implements IPricedObject
Summary
An exported lot is all of the relevant data of a TinyLife.World.Lot
that should be exported to a file when clicking the "Export" button in the build menu. To create an exported lot from a lot, use TinyLife.World.Lot.Export
.
Constructors
Name | Summary |
---|---|
ExportedLot ( ) |
Fields
Type | Name | Summary |
---|---|---|
Rectangle | Area | The area that this lot covers in the world |
List<Furniture> | Furniture | The TinyLife.World.ExportedLot.Furniture that is present on this lot |
List<Roof> | Roofs | The roofs that are present on this lot |
Tile[] | Tiles | The ground tiles of this lot |
LotType | Type | This lot's TinyLife.World.LotType |
List<Wall> | Walls | The walls that are present on this lot |
Methods
Return | Name | Summary |
---|---|---|
RectangleF | GetCoveredArea ( ) | Returns a MLEM.Misc.RectangleF that represents the area that this lot actually covers. The area covered by this lot is always bounded by its TinyLife.World.ExportedLot.Area , but will be smaller if there are fewer objects on the lot. |
Single | GetPrice ( ) |