Пример #1
0
        public Game1()
            : base()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";



            digdug = new DigDug(this);
            this.Components.Add(digdug);
            fygar = new Fygar(this, digdug);
            this.Components.Add(fygar);
            pooka = new Pooka(this, digdug);
            this.Components.Add(pooka);


            doge = new Doge(this, digdug);
            this.Components.Add(doge);
        }
Пример #2
0
 public Fygar(Game game, DigDug digdug)
     : base(game)
 {
     this.digdug = digdug;
 }
Пример #3
0
 public Pooka(Game game, DigDug digdug)
     : base(game)
 {
     this.digdug = digdug;
 }
Пример #4
0
 public Doge(Game game, DigDug digdug)
     : base(game)
 {
     this.digdug = digdug;
 }