Example #1
0
 public Player(GameWorld world, int x, int y)
     : base(world, x*20, y*20, 20, 40)
 {
     gun = new Gun(this);
     respawnX = x;
     respawnY = y;
 }
Example #2
0
 protected void SetValues(Gun g)
 {
     g._bullets = this._bullets;
     g._lastX = this._lastX;
     g._lastY = this._lastY;
     g.Cost = this.Cost;
     g.Image = this.Image;
 }