FluidDroppable

Interface for container nodes that support dropping other nodes inside.

Members

Functions

canDrop
bool canDrop(Node node)

Returns true if the given node can be dropped into this node.

drop
void drop(Vector2 position, Rectangle rectangle, Node node)

Specifies the given node has been dropped inside the container.

dropHover
void dropHover(Vector2 position, Rectangle rectangle)

Called every frame an eligible node is hovering the rectangle. Used to provide feedback while drawing the container node.

Meta