public class Shadow
extends Actor
Constructor and Description |
---|
Shadow(Location upperLeft,
Location lowerRight)
Creates a rectangular shadow area.
|
public Shadow(Location upperLeft, Location lowerRight)
upperLeft
- the upper left vertex of the arealowerRight
- the lower right vertex of the areapublic Location getCenter()
public boolean inShadow(Location target)
target
- the target location to check