Package ch.epfl.cs107.play.engine.actor
Interface Droppable
public interface Droppable
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanDrop()voidreceiveDropFrom(Draggable draggable) Interaction of a dropping
-
Method Details
-
canDrop
boolean canDrop()- Returns:
- (boolean): true if this is able to interact with a drop
-
receiveDropFrom
Interaction of a dropping- Parameters:
draggable- the object that is dropped
-