Removed unnecessary nested namespace.

This commit is contained in:
Justin Aquadro 2011-04-06 21:20:35 +00:00
parent 334ce12773
commit 2ac3252702
50 changed files with 74 additions and 74 deletions

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
using NBT; using NBT;
using Utility; using Utility;

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
using NBT; using NBT;

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
public interface IBlock public interface IBlock

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
public struct BlockKey : IEquatable<BlockKey> public struct BlockKey : IEquatable<BlockKey>
{ {

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
/*public interface IBlockManager : IBlockContainer /*public interface IBlockManager : IBlockContainer
{ {

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
public class BlockRef : IBlock public class BlockRef : IBlock
{ {

View file

@ -1,7 +1,7 @@
using System; using System;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
using NBT; using NBT;
using Utility; using Utility;

View file

@ -5,7 +5,7 @@ using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
public class ChunkList : IEnumerable<ChunkRef> public class ChunkList : IEnumerable<ChunkRef>
{ {

View file

@ -4,7 +4,7 @@ using System.Text;
using System.IO; using System.IO;
using Ionic.Zlib; using Ionic.Zlib;
namespace Substrate.Map namespace Substrate
{ {
class ChunkFile class ChunkFile
{ {

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Text; using System.Text;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
using NBT; using NBT;

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Text; using System.Text;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
public interface IChunk : IBlockContainer public interface IChunk : IBlockContainer

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
public struct ChunkKey : IEquatable<ChunkKey> public struct ChunkKey : IEquatable<ChunkKey>
{ {

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
public class ChunkManager : IChunkContainer, IChunkCache, IEnumerable<ChunkRef> public class ChunkManager : IChunkContainer, IChunkCache, IEnumerable<ChunkRef>

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Text; using System.Text;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
using NBT; using NBT;

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityArrow : EntityThrowable public class EntityArrow : EntityThrowable
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityChicken : EntityMob public class EntityChicken : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityCow : EntityMob public class EntityCow : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityCreeper : EntityMob public class EntityCreeper : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityEgg : EntityThrowable public class EntityEgg : EntityThrowable
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityGhast : EntityMob public class EntityGhast : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityGiant : EntityMob public class EntityGiant : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityMonster : EntityMob public class EntityMonster : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityPainting : Entity public class EntityPainting : Entity
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityPig : EntityMob public class EntityPig : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityPigZombie : EntityMob public class EntityPigZombie : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntitySheep : EntityMob public class EntitySheep : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntitySkeleton : EntityMob public class EntitySkeleton : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntitySlime : EntityMob public class EntitySlime : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntitySnowball : EntityThrowable public class EntitySnowball : EntityThrowable
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntitySpider : EntityMob public class EntitySpider : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityWolf : EntityMob public class EntityWolf : EntityMob
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Entities namespace Substrate.Entities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class EntityZombie : EntityMob public class EntityZombie : EntityMob
{ {

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.NBT namespace Substrate.NBT
{ {
class JSONSerializer class JSONSerializer
{ {

View file

@ -4,7 +4,7 @@ using System.Text;
using System.IO; using System.IO;
using System.IO.Compression; using System.IO.Compression;
namespace Substrate.Map.NBT namespace Substrate.NBT
{ {
using Map.Utility; using Map.Utility;

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.NBT { namespace Substrate.NBT {
using Map.Utility; using Map.Utility;

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.NBT namespace Substrate.NBT
{ {
public delegate void MissingTagHandler (Object o, TagEventArgs e); public delegate void MissingTagHandler (Object o, TagEventArgs e);
public delegate void InvalidTagTypeHandler (Object o, TagEventArgs e); public delegate void InvalidTagTypeHandler (Object o, TagEventArgs e);

View file

@ -4,7 +4,7 @@ using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
using NBT; using NBT;

View file

@ -5,7 +5,7 @@ using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
public class RegionList : IEnumerable<Region> public class RegionList : IEnumerable<Region>
{ {

View file

@ -5,7 +5,7 @@ using System.IO;
using Ionic.Zlib; using Ionic.Zlib;
using System.Collections; using System.Collections;
namespace Substrate.Map namespace Substrate
{ {
public class RegionFile : IDisposable { public class RegionFile : IDisposable {

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map namespace Substrate
{ {
public struct RegionKey : IEquatable<RegionKey> public struct RegionKey : IEquatable<RegionKey>
{ {

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Text; using System.Text;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
public class RegionManager public class RegionManager
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.TileEntities namespace Substrate.TileEntities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class TileEntityChest : TileEntity, IItemContainer public class TileEntityChest : TileEntity, IItemContainer
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.TileEntities namespace Substrate.TileEntities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class TileEntityFurnace : TileEntity, IItemContainer public class TileEntityFurnace : TileEntity, IItemContainer
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.TileEntities namespace Substrate.TileEntities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class TileEntityMobSpawner : TileEntity public class TileEntityMobSpawner : TileEntity
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.TileEntities namespace Substrate.TileEntities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class TileEntityMusic : TileEntity public class TileEntityMusic : TileEntity
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.TileEntities namespace Substrate.TileEntities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class TileEntitySign : TileEntity public class TileEntitySign : TileEntity
{ {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.TileEntities namespace Substrate.TileEntities
{ {
using Substrate.Map.NBT; using Substrate.NBT;
public class TileEntityTrap : TileEntity, IItemContainer public class TileEntityTrap : TileEntity, IItemContainer
{ {

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Utility namespace Substrate.Utility
{ {
public interface ICopyable <T> public interface ICopyable <T>
{ {

View file

@ -3,7 +3,7 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace Substrate.Map.Utility namespace Substrate.Utility
{ {
public class NibbleArray : ICopyable<NibbleArray> public class NibbleArray : ICopyable<NibbleArray>
{ {

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Text; using System.Text;
using System.IO; using System.IO;
namespace Substrate.Map namespace Substrate
{ {
public class World public class World
{ {