package player;

import java.awt.Rectangle;

import hud.inventory.InventorySlot;
import lighting.RadialLight;
import utils.Circle;
import utils.Point2f;
import utils.Stack;

/**  ------------- Nihilne ------------
    *** @author Mitch Weaver - 2016 ***
      ~~~~ All Rights Reserved ~~~~ */

public final class Player {
	
	public static final int width = 20, height = 36, discoveryRadius = 475;
	public static final float radius = width / 2.75f;
	public static float velX, velY, weight, WALKING_SPEED = 1.75f, RUNNING_SPEED = 2.75f, currentDamage;
	public static int health = 100, maximumHealth = 100, currentAnimation, facing = 5, getHitTimer;
	public static boolean keepWalkingX, keepWalkingY, attacking, using, hasBackpack, collided, animate = true;
	
	public static volatile InventorySlot[] inventorySlots, tabSlots, equipmentSlots;
	
	public static final Rectangle bounds = new Rectangle(0, 0, 20, 36);
	public static Point2f center = new Point2f(0, 0);
	public static Point2f pos = new Point2f(0,0);

	// COLLIDEDS
	public static boolean treeCollided, boulderCollided, flowerCollided, grassCollided, droppedItemCollided,
	saplingCollided;
	
	public static final Stack<RadialLight> playerLights = new Stack<RadialLight>();
	public static final RadialLight torchLight = new RadialLight(new Point2f(0,0), 50, 0.475f);
	
	public static final Circle attackBounds = new Circle(new Point2f(0,0), 0f);
	public static final Circle DISCOVERY = new Circle(center, discoveryRadius);
	
}
