Пример #1
0
        public void InitializeTo(string level)
        {
            LevelParser parser = new LevelParser("1-1");

            this.blocks               = parser.BlockGrid;
            this.tileHeight           = 15;
            this.tileWidth            = parser.Width;
            this.gameField.Background = parser.Background;
            this.mario = parser.DefaultMario;

            //TODO: put this in level paresr
            this.spriteList.Add(new Sprites.Goomba(500, 576));
        }
Пример #2
0
 public virtual void Update(GamePlay level, Mario mario)
 {
 }