Correcting all the TD2 Polygon project.

Using static var.
Respecting the good uses of heritage.