Package ch.epfl.cs107.play.engine.actor
Interface Draggable
- All Known Implementing Classes:
DraggableAreaEntity
public interface Draggable
-
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledge that a drop do happenedbooleancanDrag()booleanboolean
-
Method Details
-
canDrag
boolean canDrag()- Returns:
- (boolean): true if this is able to be drag
-
isDragging
boolean isDragging()- Returns:
- (boolean): true if this is dragging
-
wantsDropInteraction
boolean wantsDropInteraction()- Returns:
- (boolean): true if this wants to be dropped
-
acknowledgeDrop
void acknowledgeDrop()acknowledge that a drop do happened
-