Android Open Source - RPG-Kit-Android R P G Kit Activity






From Project

Back to project page RPG-Kit-Android.

License

The source code is released under:

Apache License

If you think the Android project RPG-Kit-Android 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

/**
 * Philip Regan//from   w  w  w .  ja  va  2s. c o m
 * http://www.oatmealandcoffee.com
 * 
 * 
 * RPGKitActivity
 * 
 * Main activity that is used for only the most preliminary app prep, if any at
 * all
 */

package net.cs76.projects.student;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class RPGKitActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        /* INITIAL APPLICATION PREP and INTRO SCREENS (IF ANY) */

        goToHomeScreen();
        
    }
    
    public void onResume() {
      super.onResume();
      goToHomeScreen();
    }
    
    private void goToHomeScreen() {
      // push to game selection
        Intent gameSelection = new Intent( getBaseContext(), OCGameSelectionActivity.class );
        startActivity( gameSelection );
    }
}




Java Source Code List

net.cs76.projects.student.OCCoreActivity.java
net.cs76.projects.student.OCDbController.java
net.cs76.projects.student.OCEquipmentSelectionActivity.java
net.cs76.projects.student.OCGameComponentsEditActivity.java
net.cs76.projects.student.OCGameEngine.java
net.cs76.projects.student.OCGameEntryDbController.java
net.cs76.projects.student.OCGameEntry.java
net.cs76.projects.student.OCGameInformationEditActivity.java
net.cs76.projects.student.OCGameObjectSelectionActivity.java
net.cs76.projects.student.OCGamePlayLocationActivity.java
net.cs76.projects.student.OCGameSelectionActivity.java
net.cs76.projects.student.OCPlayerInformationEditActivity.java
net.cs76.projects.student.OCTaskSelectionActivity.java
net.cs76.projects.student.RPGKitActivity.java