Home | History | Annotate | Download | only in replicaisland
      1 /*
      2  * Copyright (C) 2010 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package com.replica.replicaisland;
     18 
     19 public class AdultsDifficultyConstants extends DifficultyConstants {
     20 
     21 	private static final float FUEL_AIR_REFILL_SPEED = 0.15f;
     22     private static final float FUEL_GROUND_REFILL_SPEED = 2.0f;
     23 	public static final int MAX_PLAYER_LIFE = 2;
     24 	private static final int COINS_PER_POWERUP = 30;
     25 
     26 	public static final float GLOW_DURATION = 10.0f;
     27 
     28 	// DDA boosts
     29 	private static final int DDA_STAGE_1_ATTEMPTS = 4;
     30 	private static final int DDA_STAGE_2_ATTEMPTS = 8;
     31 	private static final int DDA_STAGE_1_LIFE_BOOST = 1;
     32 	private static final int DDA_STAGE_2_LIFE_BOOST = 2;
     33 	private static final float DDA_STAGE_1_FUEL_AIR_REFILL_SPEED = 0.15f;
     34 	private static final float DDA_STAGE_2_FUEL_AIR_REFILL_SPEED = 0.22f;
     35 
     36 	@Override
     37 	public float getFuelAirRefillSpeed() {
     38 		return FUEL_AIR_REFILL_SPEED;
     39 	}
     40 
     41 	@Override
     42 	public float getFuelGroundRefillSpeed() {
     43 		return FUEL_GROUND_REFILL_SPEED;
     44 	}
     45 
     46 	@Override
     47 	public int getMaxPlayerLife() {
     48 		return MAX_PLAYER_LIFE;
     49 	}
     50 
     51 	@Override
     52 	public int getCoinsPerPowerup() {
     53 		return COINS_PER_POWERUP;
     54 	}
     55 
     56 	@Override
     57 	public float getGlowDuration() {
     58 		return GLOW_DURATION;
     59 	}
     60 
     61 	@Override
     62 	public int getDDAStage1Attempts() {
     63 		return DDA_STAGE_1_ATTEMPTS;
     64 	}
     65 
     66 	@Override
     67 	public int getDDAStage2Attempts() {
     68 		return DDA_STAGE_2_ATTEMPTS;
     69 	}
     70 
     71 	@Override
     72 	public int getDDAStage1LifeBoost() {
     73 		return DDA_STAGE_1_LIFE_BOOST;
     74 	}
     75 
     76 	@Override
     77 	public int getDDAStage2LifeBoost() {
     78 		return DDA_STAGE_2_LIFE_BOOST;
     79 	}
     80 
     81 	@Override
     82 	public float getDDAStage1FuelAirRefillSpeed() {
     83 		return DDA_STAGE_1_FUEL_AIR_REFILL_SPEED;
     84 	}
     85 
     86 	@Override
     87 	public float getDDAStage2FuelAirRefillSpeed() {
     88 		return DDA_STAGE_2_FUEL_AIR_REFILL_SPEED;
     89 	}
     90 
     91 }
     92