| | |
| | | package com.secondworld.sdk; |
| | | |
| | | public class GTGameApp extends GameApp { |
| | | import android.app.Application; |
| | | |
| | | public class GTGameApp extends Application { |
| | | |
| | | @Override |
| | | public void onCreate() { |
| | | super.onCreate(); |
| | | GameAppProxy.create(this,new GTGamePlatform()); |
| | | registerProxy(); |
| | | initSdk(); |
| | | } |
| | | |
| | | protected void registerProxy() { |
| | | super.registerProxy(); |
| | | //主界面代理注册 |
| | | GameActivity.registerProxy(GTGameMain.class); |
| | | AppsFlyerUtil.init(); |
| | | } |
| | | |
| | | @Override |
| | | protected void initPlatformDiff() { |
| | | PlatformDiff.I = new GTGamePlatform(); |
| | | } |
| | | |
| | | @Override |
| | | protected void initSdk() { |
| | | super.initSdk(); |
| | | MySdkMgr.I.setListener(); |
| | | } |
| | | |
| | | |
| | | } |