Beispiel #1
0
 /// <summary>
 /// セットアップ
 /// </summary>
 public void Setup(
     bool isFvAttack,
     uint power,
     uint fvRate,
     Master.BulletData bulletData,
     SkillGroupManager skill)
 {
     this.power = power;
     this.fvRate = fvRate;
     this.isFvAttack = isFvAttack;
     this.bulletData = bulletData;
     this.skill = skill;
 }
Beispiel #2
0
 /// <summary>
 /// セットアップ
 /// </summary>
 public void Setup(
     bool isFvAttack,
     uint power,
     uint fvRate,
     Master.BulletData bulletData,
     SkillGroupManager skill,
     uint speed,
     Fish targetFish = null)
 {
     base.Setup(isFvAttack, power, fvRate, bulletData, skill);
     this.bulletBase.movement.speed = speed;
     this.targetFish = targetFish;
 }
Beispiel #3
0
 /// <summary>
 /// セットアップ
 /// </summary>
 public void Setup(
     bool isFvAttack,
     uint power,
     uint fvRate,
     Master.BulletData bulletData,
     SkillGroupManager skill,
     uint speed,
     float duration)
 {
     base.Setup(isFvAttack, power, fvRate, bulletData, skill);
     this.bulletBase.movement.speed = speed;
     this.duration = duration;
 }
Beispiel #4
0
    /// <summary>
    /// セットアップ
    /// </summary>
    public void Setup(
        bool isFvAttack,
        uint power,
        uint fvRate,
        Master.BulletData bulletData,
        SkillGroupManager skill,
        Turret turret)
    {
        base.Setup(isFvAttack, power, fvRate, bulletData, skill);

        //タイムスタンプ取得
        this.timeStamp = BattleGlobal.GetTimeStamp();

        //制御開始
        this.controller.Start(turret, this.bulletBase, this.OnHit, this.OnFinished);
    }
Beispiel #5
0
    /// <summary>
    /// セットアップ
    /// </summary>
    public void Setup(
        bool isFvAttack,
        uint power,
        uint fvRate,
        Master.BulletData bulletData,
        SkillGroupManager skill,
        Turret turret,
        Vector2 dropPosition)
    {
        base.Setup(isFvAttack, power, fvRate, bulletData, skill);

        this.timeStamp = BattleGlobal.GetTimeStamp();
        this.dropPosition = dropPosition;

        //制御開始
        this.controller.Start(turret, this.bulletBase, dropPosition, this, this.OnFinished);
    }