Ejemplo n.º 1
0
 private SneakingMap(IMap map, int width, int length, int _tileSize, IDrawableOwner dw) : base(width, length, _tileSize)
 {
     myWall = new wallObj();
     initializeWall();
     MyMap = map;
     //MyMap.setNoiseCreationBehavior(new NoiseCreationBehaviorView1(dw));
     throw new Exception("Noise creation behavior in Sneaking map not set, Sneaking map constructor");
 }
Ejemplo n.º 2
0
        public static SneakingMap createInstance(IMap map, int width, int length, int _tileSize, IDrawableOwner dw)
        {
            if (myInstance == null)
            {
                myInstance = new SneakingMap(map, width, length, _tileSize, dw);
            }

            return(myInstance);
        }