コード例 #1
0
ファイル: PetalEffect.java プロジェクト: wuyun1/loon-simple
 public PetalEffect(int x, int y) {
   this(
       x,
       y,
       GameManager.getSystemHandler().getWidth(),
       GameManager.getSystemHandler().getHeight());
 }
コード例 #2
0
ファイル: GameManager.java プロジェクト: wuyun1/loon-simple
 public static IHandler getSystemHandler() {
   GameContext context = INSTANCE.getContext();
   if (context != null) {
     return context.getView().getHandler();
   } else {
     return null;
   }
 }