17 #include <core_ui/properties_widget.h> 18 #include <domains/harvester/robot.h> 19 #include <domains/harvester/world.h> 20 #include <domains/harvester/world_map.h> 35 class SandboxWindow :
public QFrame {
38 static constexpr
int kDefaultTimerSpeed = 40;
40 const QIcon kPlayIcon{
":/resources/mc_play.png" };
41 const QIcon kPauseIcon{
":/resources/mc_pause.png" };
65 explicit SandboxWindow(QWidget* parent =
nullptr);
71 void on_simulation_speed_valueChanged(
int value);
72 void on_play_pause_clicked();
73 void on_single_step_clicked();
74 void on_restart_clicked();
79 void setupVariables();
84 Ui::SandboxWindow* ui =
nullptr;
87 unique_ptr<harvester::Robot> robot_;
88 unique_ptr<harvester::World> world_;
A basic, manually-updated property item.
Definition: properties_widget.h:70
Definition: evolution_window.h:22
Definition: harvester_ui.cpp:24