Exemple #1
0
 public PetalEffect(int x, int y) {
   this(
       x,
       y,
       GameManager.getSystemHandler().getWidth(),
       GameManager.getSystemHandler().getHeight());
 }
Exemple #2
0
 public static IHandler getSystemHandler() {
   GameContext context = INSTANCE.getContext();
   if (context != null) {
     return context.getView().getHandler();
   } else {
     return null;
   }
 }