org.starhope.valerius.game
Class GaiusValeriusCatullus

java.lang.Object
  extended by android.content.Context
      extended by android.content.ContextWrapper
          extended by android.view.ContextThemeWrapper
              extended by android.app.Activity
                  extended by org.starhope.valerius.game.GaiusValeriusCatullus
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback, GameImplementor, VergilEventHandler

public abstract class GaiusValeriusCatullus
extends android.app.Activity
implements GameImplementor

WRITEME: Document this type.

Author:
brpocock@star-hope.org

Field Summary
private  CatulliConfig configCatulli
          WRITEME: Document this brpocock@star-hope.org
 
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
 
Fields inherited from class android.content.Context
ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, INPUT_METHOD_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
 
Constructor Summary
GaiusValeriusCatullus()
           
 
Method Summary
 void acceptEvent(String identifier, Object... details)
          WRITEME: Document this method brpocock@star-hope.org
 String getGameLicenseBrief()
           Examples:
 String getGameLicenseLong()
           Examples:
 com.google.gwt.http.client.URL getGameLicenseTextLink()
           Get a link to the full text of the license agreement.
 String getGameShortIdentifier()
          WRITEME: Document this method brpocock@star-hope.org
 boolean isDebug()
           
 void onCreate(android.os.Bundle savedInstanceState)
          Called when the activity is first created.
 
Methods inherited from class android.app.Activity
addContentView, closeContextMenu, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, hasWindowFocus, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onActivityResult, onApplyThemeResource, onAttachedToWindow, onBackPressed, onChildTitleChanged, onConfigurationChanged, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDestroy, onDetachedFromWindow, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onRestoreInstanceState, onResume, onRetainNonConfigurationInstance, onSaveInstanceState, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, overridePendingTransition, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVisible, setVolumeControlStream, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startIntentSender, startIntentSenderForResult, startIntentSenderFromChild, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, triggerSearch, unregisterForContextMenu
 
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
 
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
 
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.starhope.vergil.logic.GameImplementor
getGameCopyright, getGameSubtitle, getGameTitle
 

Field Detail

configCatulli

private CatulliConfig configCatulli
WRITEME: Document this brpocock@star-hope.org

Constructor Detail

GaiusValeriusCatullus

public GaiusValeriusCatullus()
Method Detail

acceptEvent

public void acceptEvent(String identifier,
                        Object... details)
                 throws EventNotHandledException
Description copied from interface: VergilEventHandler
WRITEME: Document this method brpocock@star-hope.org

Specified by:
acceptEvent in interface VergilEventHandler
Parameters:
identifier - WRITEME
details - WRITEME
Throws:
EventNotHandledException - WRITEME
See Also:
VergilEventHandler.acceptEvent(java.lang.String, java.lang.Object[])

getGameLicenseBrief

public String getGameLicenseBrief()
Description copied from interface: GameImplementor

Examples:

Specified by:
getGameLicenseBrief in interface GameImplementor
Returns:
the game's brief licensing terms
See Also:
GameImplementor.getGameLicenseBrief()

getGameLicenseLong

public String getGameLicenseLong()
Description copied from interface: GameImplementor

Examples:

Specified by:
getGameLicenseLong in interface GameImplementor
Returns:
the game's longer licensing terms
See Also:
GameImplementor.getGameLicenseLong()

getGameLicenseTextLink

public com.google.gwt.http.client.URL getGameLicenseTextLink()
Description copied from interface: GameImplementor

Get a link to the full text of the license agreement.

Some useful ones (for my own use):

Specified by:
getGameLicenseTextLink in interface GameImplementor
Returns:
a URL of the full license terms
See Also:
GameImplementor.getGameLicenseTextLink()

getGameShortIdentifier

public String getGameShortIdentifier()
Description copied from interface: GameImplementor
WRITEME: Document this method brpocock@star-hope.org

Specified by:
getGameShortIdentifier in interface GameImplementor
Returns:
WRITEME
See Also:
GameImplementor.getGameShortIdentifier()

isDebug

public boolean isDebug()
Specified by:
isDebug in interface GameImplementor
Returns:
true, if the game is running in a debugging mode or environment
See Also:
GameImplementor.isDebug()

onCreate

public void onCreate(android.os.Bundle savedInstanceState)
Called when the activity is first created.

Overrides:
onCreate in class android.app.Activity