Exemplo n.º 1
0
 public TargetAttack(ref global_vars vars, ref Game1 game)
     : base(game)
 {
     this.game = game;
     this.variables = vars;
     thisTA = this;
 }
Exemplo n.º 2
0
 public Target(ref TargetAttack ta, ref global_vars vars, ref Game1 game)
     : base(game)
 {
     this.game = game;
     this.variables = vars;
     thisTarget = this;
     position = new Rectangle(vars.screen_width/2, vars.screen_height/2, 100, 100);
     attack = ta;
 }