/// <summary>
    /// 状態切替
    /// </summary>
    /// <param name="sNum">状態を表す数値</param>
    public override void SwitchState(int sNum)
    {
        CurrentState = null;
        CurrentState = states[sNum];

        // nullチェック
        if (CurrentState != null)
        {
            // 初期化
            CurrentState.Initialize();
        }
    }