public JerryAI(Game game, SteeringBehaviors sb, Cheese cheese, HolesManager holes, Jerry jerry, Collision collision, Tom tom)
     : base(game)
 {
     this.sb        = sb;
     this.cheese    = cheese;
     this.holes     = holes;
     this.jerry     = jerry;
     this.collision = collision;
     this.tom       = tom;
 }
 public Collision(Game game, Tom tom, Jerry jerry, SteeringBehaviors sb, Cheese cheese, HolesManager hm, ScoreKeeper score)
     : base(game)
 {
     // TODO: Complete member initialization
     this.game   = game;
     this.tom    = tom;
     this.jerry  = jerry;
     this.sb     = sb;
     this.cheese = cheese;
     this.hm     = hm;
     this.score  = score;
 }
        public Game1()
            : base()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";



            sb = new SteeringBehaviors(this);
            this.Components.Add(sb);

            tomani = new TomAni(this);
            this.Components.Add(tomani);

            jerryani = new JerryAni(this);
            this.Components.Add(jerryani);



            cheese = new Cheese(this);
            this.Components.Add(cheese);

            score = new ScoreKeeper(this, cheese);
            this.Components.Add(score);

            hm = new HolesManager(this);
            this.Components.Add(hm);

            jerry = new Jerry(this, jerryani);
            this.Components.Add(jerry);

            tom = new Tom(this, tomani, jerry, sb);
            this.Components.Add(tom);

            collision = new Collision(this, tom, jerry, sb, cheese, hm, score);
            this.Components.Add(collision);

            jerryai = new JerryAI(this, sb, cheese, hm, jerry, collision, tom);
            this.Components.Add(jerryai);
        }