+void
+FlipLevelTransformer::transform_platform(float height, Platform& platform)
+{
+ Path& path = platform.get_path();
+ for (std::vector<Path::Node>::iterator i = path.nodes.begin(); i != path.nodes.end(); i++) {
+ Vector& pos = i->position;
+ pos.y = height - pos.y - platform.get_bbox().get_height();
+ }
+}
+
+void
+FlipLevelTransformer::transform_block(float height, Block& block)
+{
+ if (block.original_y != -1) block.original_y = height - block.original_y - block.get_bbox().get_height();
+}