示例#1
0
文件: Player.cs 项目: ra4king/Shooter
 public Player(GameWorld world, int x, int y)
     : base(world, x*20, y*20, 20, 40)
 {
     gun = new Gun(this);
     respawnX = x;
     respawnY = y;
 }
示例#2
0
文件: Gun.cs 项目: TheThing/Shooter
 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;
 }