Game-Design / Sprint3_actual / GlobalVars.cs
GlobalVars.cs
Raw
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
using Sprint3_actual.Items;
using Sprint3_actual.Everything_NPC;
using Sprint3_actual.Blocks;
using Sprint3_actual.BorderElements;
using Sprint3_actual.Dungeon_Generation;

namespace Sprint3_actual
{ 
    static class GlobalVars
    {
        public static SpriteBatch spriteBatch;
        public static SpriteFont font;
        public static GameTime gameTime;
        public static int linkWH = 48;
        public static int activeitemWH = 16;
        public static int itemCounter = 50;
        public static int swordCounter = 20;
        public static int linkItemCounter = 15;
        //TODO: Make lists for blocks and items

        public static string[,] roomArray1 = new string[,]
        {
            { null, null, null, null, null, null, null, null },
            { null, null, "Room16.xml", "Room17.xml", null, null, null, null },
            { null, null, "Room18.xml", "Room13.xml", null, "Room14.xml", "Room15.xml", null },
            { null, "Room8.xml", "Room9.xml", "Room10.xml", "Room11.xml", "Room12.xml", null, null },
            { null, null, "Room5.xml", "Room6.xml", "Room7.xml", null, null, null },
            { null, null, null, "Room4.xml", "doritos.xml", null, null, null },
            { null, null, "Room1.xml", "Room2.xml", "Room3.xml", "BossRoom.xml", null, null },
            { null, null, null, null, null, null, null, null }
        };

        public static string[,] roomArray2 = new string[,]
        {
            { null, null, null, "Level17.xml", "Level18.xml", null, null, null },
            { null, null, null, null, "Level15.xml", "Level16.xml", null, null },
            { null, null, null, null, "Level13.xml", "Level14.xml", null, null },
            { null, null, null, null, "Level11.xml", "Level12.xml", null, null },
            { null, null, null, null, "Level9.xml","Level10.xml", null, null },
            { null, null, null, null, "Level7.xml", "Level8.xml", null, null },
            { null, null, "Level3.xml", "Level4.xml", "Level5.xml", "Level6.xml", null, null },
            { null, null, null, "Level1.xml", "Level2.xml", null, null, null }
        };

        public static int levelWidth = 8;
        public static int levelHeight = 8;
        public static int screenWidth = 768;
        public static int viewBoxHeight = 528;
        public static int inventoryHeight = 168;
    }
}