Package com.starpoints.game.listener
Interface FigureVisibilityListener
-
public interface FigureVisibilityListenerListener interface for figure events if visibility changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanvisibilityChanges(Figure f, boolean visible, AnimationInfo animation)Called, if the visibility of the figure changes.
-
-
-
Method Detail
-
visibilityChanges
boolean visibilityChanges(Figure f, boolean visible, AnimationInfo animation)
Called, if the visibility of the figure changes.- Parameters:
f- The Figure.visible- true, if figure becomes visible, false if invisible.animation- The AnimationInfo- Returns:
- false, if the visibility change should be cancelled.
-
-