示例#1
0
文件: Tower.cs 项目: Valchris/Tdd
 public Tower(TowerType towerType, string owner, Point location, string id)
 {
     this.Type = towerType.Id;
     this.Speed = towerType.Speed;
     this.ProjectileSpeed = towerType.ProjectileSpeed;
     this.Range = towerType.Range;
     this.Owner = owner;
     this.Damage = towerType.Damage;
     this.Location = location;
     this.Id = id;
     this.Effects = towerType.Effects;
 }
示例#2
0
文件: Tower.cs 项目: Valchris/Tdd
 public Tower(TowerType towerType, string owner, Point location, string id)
 {
     this.Type            = towerType.Id;
     this.Speed           = towerType.Speed;
     this.ProjectileSpeed = towerType.ProjectileSpeed;
     this.Range           = towerType.Range;
     this.Owner           = owner;
     this.Damage          = towerType.Damage;
     this.Location        = location;
     this.Id      = id;
     this.Effects = towerType.Effects;
 }