A type of Shapes that draws the floor tiles and automatically adds border walls.
|bool||ClipWalls ( )|
|void||ReplacePortal ( Portal portal )|
|void||Restore ( Dictionary data )|
|void||ForgetWall ( Wall wall )|
- Level Level:
The Level in which this instance belongs in.
- Wall Walls:
The walls auto-generated by this class.
- bool SuppressHistory:
When enabled, stops recording undo history.
- Vector2 newestShape:
The points of the last shape that was added by the user or another script.
- bool ClipWalls ( ):
Called automatically when the FloorShapeTool updates this Shapes or by the parent method FinalizeOutlines() to generate a set of border walls. Returns true if walls had to change and false is nothing had to change.
- void ReplacePortal ( Portal portal ):
Called by ClipWalls() whenever a wall is updated so that any Portal is recreated in the proper location. Not called directly.