예제 #1
0
    /// <summary>
    /// ��{�p�����[�^�̏�����
    /// </summary>
    protected void InitParameter()
    {
        //�`�b�v���Ƃɗ����Ŏ኱�̃o���‚���
        hp += Random.Range(-300, 300);

         parameter = new MapChipParameter(this,
            isAutoDeduct ? new MapChipHP(hp, autoDeduct) : new MapChipHP(hp)
        );

        animation = new MapChipAnimationController(sprite);
    }
예제 #2
0
    /// <summary>
    /// 基本パラメータの初期化
    /// </summary>
    protected void InitParameter()
    {
        //チップごとに乱数で若干のバラつきを
        hp += Random.Range(-300, 300);

        parameter = new MapChipParameter(this,
                                         isAutoDeduct ? new MapChipHP(hp, autoDeduct) : new MapChipHP(hp)
                                         );

        animation = new MapChipAnimationController(sprite);
    }