Interface Placeable
- All Known Implementing Classes:
CostComponent
,JoinableComponent
public interface Placeable
This interface defines methods components can implement which will be called when a structure
is placed or removed via the StructurePlacementService.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
placed()
Called after the structure is placed into the grid map.default void
removed()
Called after the structure is removed from the grid map.default void
Called just before the structure is placed into the grid map.default void
Called just before the structure is removed from the grid map.
-
Method Details
-
willPlace
default void willPlace()Called just before the structure is placed into the grid map. -
placed
default void placed()Called after the structure is placed into the grid map. -
removed
default void removed()Called after the structure is removed from the grid map. -
willRemove
default void willRemove()Called just before the structure is removed from the grid map.
-