示例#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;
 }