Android Open Source - truetennis True Tennis Main Activity






From Project

Back to project page truetennis.

License

The source code is released under:

MIT License

If you think the Android project truetennis listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * The MIT License (MIT)/*from w  ww . ja  va2 s .c  om*/
 *
 * Copyright (c) 2014 Zapylaiev Kyrylo
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package org.zapylaev.game.truetennis.android;

import android.os.Bundle;
import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
import org.zapylaev.game.truetennis.core.TrueTennisMain;

public class TrueTennisMainActivity extends AndroidApplication {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
        config.useGL20 = true;
        initialize(new TrueTennisMain(), config);
    }
}




Java Source Code List

com.nuggeta.sample.libgdx.MainActivity.java
com.nuggeta.sample.libgdx.Main.java
com.nuggeta.sample.libgdx.RobovmLauncher.java
com.nuggeta.sample.libgdx.client.GwtLauncher.java
com.nuggeta.sample.libgdx.truetennis.java
org.zapylaev.game.truetennis.android.TrueTennisMainActivity.java
org.zapylaev.game.truetennis.core.Assets.java
org.zapylaev.game.truetennis.core.Constants.java
org.zapylaev.game.truetennis.core.Debug.java
org.zapylaev.game.truetennis.core.GamePrefs.java
org.zapylaev.game.truetennis.core.IRenderer.java
org.zapylaev.game.truetennis.core.TrueTennisMain.java
org.zapylaev.game.truetennis.core.domain.Ball.java
org.zapylaev.game.truetennis.core.domain.Field.java
org.zapylaev.game.truetennis.core.domain.Player.java
org.zapylaev.game.truetennis.core.domain.Team.java
org.zapylaev.game.truetennis.core.input.Controls.java
org.zapylaev.game.truetennis.core.input.State.java
org.zapylaev.game.truetennis.core.model.Box2dBall.java
org.zapylaev.game.truetennis.core.model.Box2dRect.java
org.zapylaev.game.truetennis.core.model.Box2dStick.java
org.zapylaev.game.truetennis.core.model.Box2dWalls.java
org.zapylaev.game.truetennis.core.model.DebugRenderer.java
org.zapylaev.game.truetennis.core.model.IModelListener.java
org.zapylaev.game.truetennis.core.model.IModel.java
org.zapylaev.game.truetennis.core.model.ITouchControls.java
org.zapylaev.game.truetennis.core.model.JointControls.java
org.zapylaev.game.truetennis.core.model.PhysicalModel.java
org.zapylaev.game.truetennis.core.net.ClientModelProxy.java
org.zapylaev.game.truetennis.core.net.Messages.java
org.zapylaev.game.truetennis.core.net.ServerModelProxy.java
org.zapylaev.game.truetennis.core.net.communicator.AsyncRequest.java
org.zapylaev.game.truetennis.core.net.communicator.INetCommunicator.java
org.zapylaev.game.truetennis.core.net.communicator.NetCommunicatorBuilder.java
org.zapylaev.game.truetennis.core.net.communicator.NetGame.java
org.zapylaev.game.truetennis.core.net.communicator.NuggetaNetCommunicator.java
org.zapylaev.game.truetennis.core.render.GameRenderer.java
org.zapylaev.game.truetennis.core.render.HUD.java
org.zapylaev.game.truetennis.core.render.effects.BallLightEffect.java
org.zapylaev.game.truetennis.core.render.effects.BallTailEffect.java
org.zapylaev.game.truetennis.core.render.effects.IEffect.java
org.zapylaev.game.truetennis.core.render.effects.WinEffect.java
org.zapylaev.game.truetennis.core.render.textures.BallTexture.java
org.zapylaev.game.truetennis.core.render.textures.ITexture.java
org.zapylaev.game.truetennis.core.render.textures.PlayerTexture.java
org.zapylaev.game.truetennis.core.screen.GameController.java
org.zapylaev.game.truetennis.core.screen.menu.GamesListGame.java
org.zapylaev.game.truetennis.core.screen.menu.MenuScreen.java
org.zapylaev.game.truetennis.core.screen.menu.OptionsMenu.java
org.zapylaev.game.truetennis.core.screen.menu.StartScreen.java
org.zapylaev.game.truetennis.core.utils.ShaderHelper.java
org.zapylaev.game.truetennis.html.TrueTennisMainHtml.java
org.zapylaev.game.truetennis.java.TrueTennisMainDesktop.java