public interface GGOrientationListener
Modifier and Type | Method and Description |
---|---|
void |
orientationChanged(GGNavigationListener.ScreenOrientation event)
Event callback method called when the device orientaton changed from
PORTRAIT to LANDSCAPE or vice versa.
|
void orientationChanged(GGNavigationListener.ScreenOrientation event)
event
- one of two constants
GGNavigationListener.ScreenOrientation.PORTRAIT or
GGNavigationListener.ScreenOrientation.LANDSCAPE (same as GameGrid.PORTRAIT
or GameGrid.LANDSCAPE)