Android Open Source - Avoidance File Constants






From Project

Back to project page Avoidance.

License

The source code is released under:

GNU General Public License

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

/* 
 * Copyright (c) 2012 Markus Ekstr?m//from ww  w. ja  va2  s .co  m
 * 
 * This file is part of Avoidance.
 * 
 * Avoidance is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Avoidance is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Avoidance.  If not, see <http://www.gnu.org/licenses/>. 
 *  
 */
package se.chalmers.avoidance.constants;

/**
 * Container of constants for file names.
 * 
 * @author Markus Ekstr?m
 * 
 */
public final class FileConstants {

  /**
   * Hidden constructor
   */
  private FileConstants() {
  }

  public static final String ASSET_BASE_PATH_IMG = "gfx/";

  public static final String ASSET_BASE_PATH_AUDIO = "audio/";

  public static final String IMG_SPLASH_SCREEN = "img_splash_screen.png";

  public static final String IMG_MENU_BACKGROUND = "img_menu_background.jpg";

  public static final String IMG_GAME_BACKGROUND = "img_game_background.png";

  public static final String IMG_GAME_OVER = "img_game_over.png";

  public static final String IMG_HIGH_SCORE_TITLE = "img_high_score_title.png";

  public static final String IMG_NEW_HIGH_SCORE_TAG = "img_new_high_score_tag.png";

  public static final String IMG_PLAYER_NORMAL = "img_player_normal.png";

  public static final String IMG_PLAYER_IMMORTAL = "img_player_immortal.png";

  public static final String IMG_ENEMY_NORMAL = "img_enemy_normal.png";

  public static final String IMG_ENEMY_QUICK = "img_enemy_quick.png";

  public static final String IMG_POWERUP_SPEED = "img_powerup_speed.png";

  public static final String IMG_POWERUP_IMMORTAL = "img_powerup_immortal.png";

  public static final String IMG_MENU_START = "img_menu_start.png";

  public static final String IMG_MENU_HIGH_SCORE = "img_menu_high_score.png";

  public static final String IMG_MENU_QUIT = "img_menu_quit.png";

  public static final String IMG_MENU_CREDITS = "img_menu_credits.png";

  public static final String IMG_OBSTACLE_PILLAR = "img_obstacle_pillar.png";

  public static final String IMG_OBSTACLE_SPIKES = "img_obstacle_spikes.png";

  public static final String IMG_OBSTACLE_PIT = "img_obstacle_pit.png";

  public static final String IMG_OBSTACLE_WALL_HORIZONTAL = "img_obstacle_wall_horizontal.png";

  public static final String IMG_OBSTACLE_WALL_VERTICAL = "img_obstacle_wall_vertical.png";

  public static final String IMG_BUTTON_OK = "img_button_ok.png";

  public static final String AUDIO_SOUND_BOUNCE = "audio_sound_bounce.ogg";

  public static final String AUDIO_MUSIC_HEROISM = "audio_music_heroism.ogg";
}




Java Source Code List

se.chalmers.avoidance.MainActivity.java
se.chalmers.avoidance.constants.EventMessageConstants.java
se.chalmers.avoidance.constants.FileConstants.java
se.chalmers.avoidance.constants.FontConstants.java
se.chalmers.avoidance.constants.GameConstants.java
se.chalmers.avoidance.core.EntityFactory.java
se.chalmers.avoidance.core.collisionhandlers.CollisionHandler.java
se.chalmers.avoidance.core.collisionhandlers.EnemyCollisionHandler.java
se.chalmers.avoidance.core.collisionhandlers.GameOverNotifier.java
se.chalmers.avoidance.core.collisionhandlers.KillplayerobstacleCollisionHandler.java
se.chalmers.avoidance.core.collisionhandlers.PitobstacleCollisionHandler.java
se.chalmers.avoidance.core.collisionhandlers.PowerUpCollisionHandler.java
se.chalmers.avoidance.core.collisionhandlers.WallCollisionHandler.java
se.chalmers.avoidance.core.components.Acceleration.java
se.chalmers.avoidance.core.components.Buff.java
se.chalmers.avoidance.core.components.Friction.java
se.chalmers.avoidance.core.components.Immortal.java
se.chalmers.avoidance.core.components.Jump.java
se.chalmers.avoidance.core.components.Score.java
se.chalmers.avoidance.core.components.Size.java
se.chalmers.avoidance.core.components.Sound.java
se.chalmers.avoidance.core.components.Spatial.java
se.chalmers.avoidance.core.components.Time.java
se.chalmers.avoidance.core.components.Transform.java
se.chalmers.avoidance.core.components.Velocity.java
se.chalmers.avoidance.core.states.GameOverScene.java
se.chalmers.avoidance.core.states.GameState.java
se.chalmers.avoidance.core.states.HighScoreState.java
se.chalmers.avoidance.core.states.IState.java
se.chalmers.avoidance.core.states.MenuState.java
se.chalmers.avoidance.core.states.StateID.java
se.chalmers.avoidance.core.states.StateManager.java
se.chalmers.avoidance.core.systems.CollisionSystem.java
se.chalmers.avoidance.core.systems.EnemyControlSystem.java
se.chalmers.avoidance.core.systems.HudRenderSystem.java
se.chalmers.avoidance.core.systems.PlayerControlSystem.java
se.chalmers.avoidance.core.systems.SoundSystem.java
se.chalmers.avoidance.core.systems.SpatialRenderSystem.java
se.chalmers.avoidance.core.systems.SpawnSystem.java
se.chalmers.avoidance.input.AccelerometerListener.java
se.chalmers.avoidance.input.TouchListener.java
se.chalmers.avoidance.util.AudioManager.java
se.chalmers.avoidance.util.FileUtils.java
se.chalmers.avoidance.util.ScreenResolution.java
se.chalmers.avoidance.util.Utils.java