Exemplo n.º 1
0
        public override void addDarkTiles()
        {
            //int darkZone
            int startX = 1;
            int startY = 1;
            int endX = 44;
            int endY = 5;

            for(int x = startX; x <= endX; x++)
            {
                for(int y = startY; y <= endY; y++)
                {
                    DarkTile dt = new DarkTile(x*32, y*32, "blackBlock","blackBlock");
                    Game1.darkTiles.Add(dt);
                }
            }
        }
Exemplo n.º 2
0
        public override void addDarkTiles()
        {
            //int darkZone
            int startX = 1;
            int startY = 1;
            int endX   = 44;
            int endY   = 5;



            for (int x = startX; x <= endX; x++)
            {
                for (int y = startY; y <= endY; y++)
                {
                    DarkTile dt = new DarkTile(x * 32, y * 32, "blackBlock", "blackBlock");
                    Game1.darkTiles.Add(dt);
                }
            }
        }