Ignore:
Timestamp:
2012-07-03 20:04:30 (9 years ago)
Author:
dezhidki
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/27/DenisZ/TheDungeonGame/TheDungeonGame/TheDungeonGame/Room.cs

    r3489 r3515  
    1010    abstract class Room 
    1111    { 
    12         public Vector Position { get; set; } 
     12         
     13       public Vector Position; 
    1314        public double width, height, thickness; 
    1415        protected List<IPhysicsObject> roomObjects = new List<IPhysicsObject>(); 
     
    2021        protected int bWidth, bHeight; 
    2122        public Game Game { get; set; } 
    22         public Vector RoomsPosOnGrid { get; set; } 
     23        public Vector PosOnGrid { get; set; } 
    2324 
    2425        public Room(Game game, Vector pos, Vector size, double thickness) 
     
    7071            { 
    7172                obj.Destroy(); 
     73            } 
     74            foreach (IPhysicsObject obj in insideObjects) 
     75            { 
     76                if (obj != null) 
     77                    obj.Destroy(); 
    7278            } 
    7379        } 
Note: See TracChangeset for help on using the changeset viewer.