public MonoGameAndroidGameView(Context context, AndroidGameWindow androidGameWindow, Game game) : base(context) { _gameWindow = androidGameWindow; _game = game; _touchManager = new AndroidTouchEventManager(androidGameWindow); }
public AndroidGameView(Context context, AndroidGameWindow gameWindow, Game game) : base(context) { _gameWindow = gameWindow; _game = game; _touchManager = new AndroidTouchEventManager(gameWindow); Init(); }
private void Initialize() { clientBounds = new Rectangle(0, 0, Context.Resources.DisplayMetrics.WidthPixels, Context.Resources.DisplayMetrics.HeightPixels); this.RequestFocus(); this.FocusableInTouchMode = true; _touchManager = new AndroidTouchEventManager(_game); }