hw7
Interface ClickableProp

All Superinterfaces:
uwcse.animation.Prop

public interface ClickableProp
extends uwcse.animation.Prop

Extend the basic interface for a prop in an animation so that it can help recognize that it has been clicked.


Method Summary
 void doClickAction()
          This method is called whenever this Prop was the one clicked on.
 boolean intersects(uwcse.graphics.Shape other)
          Decide if the given Shape intersects any of the Shapes that this object is displaying.
 
Methods inherited from interface uwcse.animation.Prop
addTo, removeFromWindow
 

Method Detail

intersects

public boolean intersects(uwcse.graphics.Shape other)
Decide if the given Shape intersects any of the Shapes that this object is displaying.
Parameters:
other - the other Shape that we might intersect with

doClickAction

public void doClickAction()
This method is called whenever this Prop was the one clicked on.