예제 #1
0
 public AttackTower(string tag, int cost, string name, int health, Enemy.FocusPriority focusPriority, int range, int damage, int attackSpeed, GameObject projectilePrefab, GameObject projectileModel, GameObject towerModel) : base(tag, cost, name, health, focusPriority, attackSpeed, towerModel)
 {
     this.range            = range;
     this.damage           = damage;
     this.projectilePrefab = projectilePrefab;
     this.projectile       = projectileModel;
 }
예제 #2
0
    public Tower(string tag, int cost, string name, int health, Enemy.FocusPriority focusPriority, int attackSpeed, GameObject model)
    {
        this.tag           = tag;
        this.cost          = cost;
        this.name          = name;
        this.health        = health;
        this.focusPriority = focusPriority;
        this.attackSpeed   = attackSpeed;

        this.model = model;
    }
예제 #3
0
 public ResourceTower(string tag, int cost, string name, int health, Enemy.FocusPriority focusPriority, int attackSpeed, int gain, GameObject model) : base(tag, cost, name, health, focusPriority, attackSpeed, model)
 {
     this.gain = gain;
 }
예제 #4
0
 public UpgradeTower(string tag, int cost, string name, int health, Enemy.FocusPriority focusPriority, int attackSpeed, GameObject model) : base(tag, cost, name, health, focusPriority, attackSpeed, model)
 {
 }