fish-station/Content.Shared/GameObjects
Morshu32 7bfdf30268
Add PlaceCentered bool to PlaceableSurfaceComponent (#2771)
* Added bool _placeCentered to check if an entity must be placed at mouse position or center of the PlaceableSurface (+ offset) when dropped.

* private variables formatted to camel case

* Use EqualsApprox in the setter for PositionOffset

* -Changed client-side SurfaceComponent to camelCase
-Added placeCentered and positionOffset to PlaceableSurfaceComponentState
-Getter and setters for placeCentered and positionOffset client-side

* Update Content.Client/GameObjects/Components/PlaceableSurfaceComponent.cs

Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>

* Add "_" to private vars name

* Made YAML properties camelCase

* Add "_" to private vars name

* Call Dirty() when IsPlaceable,PlaceCentered and PositionOffset are changed.

* Removed Dirty() from client.

Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-01-10 23:07:33 +11:00
..
Components Add PlaceCentered bool to PlaceableSurfaceComponent (#2771) 2021-01-10 23:07:33 +11:00
EntitySystemMessages Adds disarm action (#2950) 2021-01-09 20:31:34 +01:00
EntitySystems SolutionContainer refactors (#2954) 2021-01-10 19:41:55 +11:00
Verbs Add "Begin Deconstruction" verb, unfinished particle accelerator bits will tell you how to finish them (#2706) 2020-12-08 11:53:37 +01:00
ContentNetIDs.cs Actions System + UI (#2710) 2020-12-13 23:28:20 +01:00
DrawDepth.cs Fix namespaces and optimize imports (#1651) 2020-08-13 14:40:27 +02:00