feat: implemented pause functionality on space press

This commit is contained in:
djaidjai committed 2024-05-05 21:54:52 +02:00
1 parent 0e10881d9c
commit 11f4cd4451
3 files changed
+16 -1

No files matched your search

+2
View File
@@ -11,11 +11,13 @@ public:
void Execute(vtkObject* caller, unsigned long eventId, void* vtkNotUsed(callData)) override;
void setProgram(Program *program);
void setPaused(const bool val);
private:
int time;
int dt;
int maxTime;
bool paused;
Program *program;
};
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.