Package com.amirhn.GUI.Listeners
Interface LocationListener
- All Known Implementing Classes:
ChessController
public interface LocationListener
The interface Location listener.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isLocationDraggable
(Location location) Is location draggable boolean.void
locationDropped
(Location location) Location dropped.void
locationGrabbed
(Location location) Location grabbed.void
locationSelected
(Location location) Location selected.
-
Method Details
-
locationSelected
Location selected.- Parameters:
location
- the location
-
locationGrabbed
Location grabbed.- Parameters:
location
- the location
-
locationDropped
Location dropped.- Parameters:
location
- the location
-
isLocationDraggable
Is location draggable boolean.- Parameters:
location
- the location- Returns:
- the boolean
-