Exemplo n.º 1
0
    public override void SetEnemy(int mp, int dp)
    {
        movePaternClass = Base_MovePatern.SetMovePaternClass(moveParameters[mp]);
        movePaternClass.Init(this.gameObject);

        danmakuPaternClass = null;
    }
Exemplo n.º 2
0
    // 敵設定
    virtual public void SetEnemy(int mp, int dp)
    {
        movePaternClass = Base_MovePatern.SetMovePaternClass(moveParameters[mp]);
        movePaternClass.Init(this.gameObject);

        danmakuPaternClass = Base_DanmakuPatern.SetDanmakuPaternClass(danmakuParameters[dp]);
        danmakuPaternClass.Init(this.gameObject);
    }
Exemplo n.º 3
0
    // フェーズ切り替え
    private void ChangePhase(Phase next)
    {
        movePaternClass = Base_MovePatern.SetMovePaternClass(moveParameters[(int)next - 1]);
        movePaternClass.Init(this.gameObject);

        danmakuPaternClass = Base_DanmakuPatern.SetDanmakuPaternClass(danmakuParameters[(int)next - 1]);;
        danmakuPaternClass.Init(this.gameObject);

        phase = next;
    }