Energy2D: Simplify sensor and parts implementation