using Otter;
using SuperRefluxPowergridDefense_.entities;

namespace SuperRefluxPowergridDefense_
{
    class Global
    {
        public static Game GAME = null;
        public static Session PlayerSession;
        public static Session Player2Session;
        public static Player player = null;
        //public static Player2 player2 = null;

        public const int MW = 720;
        public const int MH = 480;
        public const int GRID_WIDTH = 16;
        public const int GRID_HEIGHT = 16;

        public static int NumberOfPlayers = 1;

        //resetable values
        public static float TotalGlobalPower = 0;
        public static float MaxPowerOutput = 5800;
        public static float Battery = 0;
        public static float MaxBattery = 4200;
        public static int currentDivisor = 0;
        public static int batteryDivisor = 0;
        public static int teslaFiringSpeed = 300; //was 300 ish. 100 is probably good enough. 300 is the current low setting.

        public static int PlayerCarryingCapacity = 1;
        public static float PlayerX = 0.0f;
        public static float PlayerY = 0.0f;
        public static Speed PlayerSpeed = new Speed(500);//was 3
        public static int PlayerHealth = 500;
        public static string PlayerCurrentAnim = "";
        public static int Score = 0;
        public static float scaryGirlSpeed = .1f;

        //public static float Player2X = 0.0f;
        //public static float Player2Y = 0.0f;
        //public static float Player2Speed = 1.0f;//was 3
        //public static int Player2Health = 50000;
        //public static string Player2CurrentAnim = "";
        //public static int Score2 = 0;

        public enum Type
        {
            BULLET,
            PLAYER,
            PLAYER2,
            SOLID,
            GENERATOR,
            TESLA,
            GRID,
            POWERCELL,
            FUEL,
            SCARYGIRL,
            TESLABEAM,
            TESLASPEEDMACHINE,
            NOSOUND,
            WALLDOWN,
            WALLUP,
            WALLRIGHT,
            WALLLEFT
        }
    }
}
