change the FigureFactory
Merge branch 'master' of https://github.com/damienCPE/iMusic