using UnityEngine;

public enum Relation {Player = 0, Ally = 1, Neutral = 2, Ennemy = 3, Unknown = 4, Multiple = 5}; //note that the last 2 are not relations, but more like sprite types

public enum Visibility {Visible = 0, Unknown = 1, Invisible = 2};

/*
 * Absract class which only contains constants
*/
public abstract class Constants {
    public static readonly float MAX_DISTANCE_IN_CONTOUR = 9.0f;
    public static readonly float DISTANCE_REMOVE_DUPLICATE_VERTEX = 1.0f;
	public static readonly int GRIDE_SIZE = 10;

	public static readonly float MAX_DISTANCE_SLOPE = 10000.0f;
	public static readonly float MIN_DISTANCE_WAYPOINTS_UPDATE = 10000.0f; //in m
	public static readonly float MAX_DISTANCE_MISSILE_EXPLOSION = 1000.0f; //in m
	public static readonly float MAX_DISTANCE_MISSILE_AUTO_DEF = 100000.0f; //in m
	public static readonly float ILLUMINATION_TIME = 0.5f; //in s

    public static Vector3 NORMAL = new Vector3(0, 0, -1f);
	public static Vector ZERO = new Vector(0, 0, 0);

	public static readonly float ZOOM_SPEED = 0.9f;
	public static readonly float CAMERA_SPEED = 10;

	public static readonly float DIRECTION_LENGTH = 20;

	public static readonly int BUFFER_SIZE = 1024;

	public static readonly int MODULE_GRID_WIDTH = 4;
	public static readonly int MODULE_GRID_HEIGHT = 2;
	public static readonly float MODULE_BORDER = 1.0f;

	public static readonly float TOLERANCE_DISTANCE_FACTOR = 2;
	public static readonly float TOLERANCE_SELECTION = 20;

	public static readonly int MODULE_DATA_INFO_PER_PACKET = 15;
	public static readonly int STORED_UNIT_INFO_PER_PACKET = 80;
}
