Added additional info to block descriptions

This commit is contained in:
Anuken
2017-08-14 15:32:20 -04:00
parent 04e4377ee4
commit 3fa3456c2b
6 changed files with 35 additions and 8 deletions

View File

@@ -6,20 +6,26 @@ import com.badlogic.gdx.Gdx;
import io.anuke.mindustry.entities.Player;
import io.anuke.ucore.scene.ui.layout.Unit;
/**ick, global state*/
public class Vars{
//shorthand for whether or not this is running on android
public static final boolean android = (Gdx.app.getType() == ApplicationType.Android);
//how far away from the player blocks can be placed
public static final float placerange = 66;
//respawn time in frames
public static final float respawnduration = 60*4;
//time between waves in frames
public static final float wavespace = 20*60*(android ? 2 : 1);
//how far away from spawn points the player can't place blocks
public static final float enemyspawnspace = 65;
//scale of the font
public static final float fontscale = Unit.dp.inPixels(1f)/2f;
//camera zoom displayed on startup
public static final int baseCameraScale = Math.round(Unit.dp.inPixels(4));
//how much the zoom changes every zoom button press
public static final int zoomScale = Math.round(Unit.dp.inPixels(1));
//if true, player speed will be increased, massive amounts of resources will be given on start, and other debug options will be available
public static boolean debug = false;
//number of save slots-- increasing may lead to layout issues
public static final int saveSlots = 4;
//turret and enemy shoot speed inverse multiplier