19 #include <core_ui/sim/box2d_sandbox_window.h> 20 #include <core_ui/properties_widget.h> 21 #include <domains/ballistics/agent.h> 22 #include <domains/ballistics/ballistics.h> 23 #include <domains/ballistics/world.h> 55 void newScene()
override;
56 void singleStep()
override;
57 void updateUI()
override;
60 void newTarget(
double x,
double y);
61 void setupScene(
const b2Vec2& target_position);
62 void setupVariables();
63 QRectF calculateViewport(QRectF old_rect = QRect(0, 0, 0, 0))
const;
70 shared_ptr<const darwin::Genotype> genotype_;
71 unique_ptr<ballistics::World> world_;
72 unique_ptr<ballistics::Agent> agent_;
73 unique_ptr<SceneUi> scene_ui_;
77 double closest_dist_ = 0;
79 QRectF viewport_rect_;
A basic, manually-updated property item.
Definition: properties_widget.h:70
Domain: Ballistics.
Definition: ballistics.h:74
Definition: ballistics_ui.cpp:24
A reusable sandbox window for domains based on Box2D physics simulations.
Definition: box2d_sandbox_window.h:37