TinyLifeExampleMod/Api/TinyLife/Objects/CornerFurniture.md

26 lines
1.6 KiB
Markdown

# [CornerFurniture](./CornerFurniture.md)
Namespace: [TinyLife]() > [Objects]()
Assembly: Tiny Life.dll
Implements [IGenericDataHolder](./CornerFurniture.md), [IPricedObject](./../World/IPricedObject.md)
## Summary
Corner furniture is furniture like `TinyLife.Objects.FurnitureType.SimpleCounter` and `TinyLife.Objects.FurnitureType.Hedge` that automatically connect to their neighbors
## Constructors
| Name | Summary |
| --- | --- |
| CornerFurniture ( [`Guid`](https://docs.microsoft.com/en-us/dotnet/api/System.Guid), [`FurnitureType`](./FurnitureType.md), [`Int32`](https://docs.microsoft.com/en-us/dotnet/api/System.Int32)[], [`Map`](./../World/Map.md), [`Vector2`](./CornerFurniture.md) ) | |
## Methods
| Return | Name | Summary |
| --- | --- | --- |
| void | Draw ( [`GameTime`](./CornerFurniture.md), [`SpriteBatch`](./CornerFurniture.md), [`Vector2`](./CornerFurniture.md), [`Vector2`](./CornerFurniture.md), [`Nullable`](https://docs.microsoft.com/en-us/dotnet/api/System.Nullable-1)\<[`Color`](./CornerFurniture.md)>, [`Direction2`](./CornerFurniture.md), [`Int32`](https://docs.microsoft.com/en-us/dotnet/api/System.Int32)[], [`Single`](https://docs.microsoft.com/en-us/dotnet/api/System.Single), [`Boolean`](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean), [`Furniture`](./Furniture.md), [`ObjectSpot`](./ObjectSpot.md), [`Single`](https://docs.microsoft.com/en-us/dotnet/api/System.Single), [`Boolean`](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean) ) | |
| [Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean) | Validate ( ) | |