Android Open Source - umpire_buddy Baseball Rules






From Project

Back to project page umpire_buddy.

License

The source code is released under:

Apache License

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

package com.bluefairyapps.java.android.umpirebuddy.utils;
/* w w  w  . j  a v  a2 s  . co m*/
/**
 * Constant container class for all baseball game rules.
 * @author Matt Parish
 */
public final class BaseballRules {

  public static final int MAX_STRIKES = 3;
  public static final int MAX_BALLS = 4;
  public static final int NUM_INNINGS = 9;
  public static final int MAX_OUTS = 3;
  
  public static final int INIT_STRIKES = 0;
  public static final int INIT_BALLS = 0;
  public static final int INIT_INNING = 1;
  public static final int INIT_OUTS = 0;
  
}




Java Source Code List

com.bluefairyapps.java.android.umpirebuddy.AboutActivity.java
com.bluefairyapps.java.android.umpirebuddy.MainActivity.java
com.bluefairyapps.java.android.umpirebuddy.enums.EventsEnum.java
com.bluefairyapps.java.android.umpirebuddy.enums.GameStatsEnum.java
com.bluefairyapps.java.android.umpirebuddy.event.EventListener.java
com.bluefairyapps.java.android.umpirebuddy.event.Event.java
com.bluefairyapps.java.android.umpirebuddy.event.game.GameStatUpdateEvent.java
com.bluefairyapps.java.android.umpirebuddy.systems.AudioSystem.java
com.bluefairyapps.java.android.umpirebuddy.systems.BaseballGameSystem.java
com.bluefairyapps.java.android.umpirebuddy.systems.EventManager.java
com.bluefairyapps.java.android.umpirebuddy.utils.BaseballRules.java
com.bluefairyapps.java.android.umpirebuddy.utils.GameStats.java