Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }