Esempio n. 1
0
 public Level()
 {
     LevelStatistics = new Statistics();
     mBackground = new Sprite();
     Obstacles = new List<Obstacle>();
     Actors = new List<Actor>();
     Checkpoints = new List<Checkpoint>();
     mTextEffects = new List<TextEffect>();
     Tiles = new List<Tile>();
     Portals = new PortalGroup();
 }
Esempio n. 2
0
        public Level()
        {
            Gravity = 40f;
            Name = "New Level";

            LevelStatistics = new Statistics();
            mBackground = new Sprite();
            mCakeSprite = new Sprite();
            Obstacles = new List<Obstacle>();
            Actors = new List<Actor>();
            Checkpoints = new List<Checkpoint>();
            mTextEffects = new List<TextEffect>();
            Tiles = new List<Tile>();
            Portals = new PortalGroup();
        }