Exemple #1
0
        public Level(SMario m)
        {
            this.main   = m;
            this.blocks = new List <Block>();
            this.x      = 200;
            this.y      = 200;

            blocks.Add(new Block(main.x, y));
            blocks.Add(new Block(main.x + 32, y));
            blocks.Add(new Block(main.x + 64, y));
        }
Exemple #2
0
 public Player(SMario m)
 {
     this.main = m;
     this._x   = 50;
     this._y   = 50;
 }