add HarnessState to callbacks, move HarnessPlugin to src_testbed/harness/plugin

This commit is contained in:
rezural
2020-12-20 23:58:50 +11:00
parent 315b84a85e
commit be07227e94
4 changed files with 34 additions and 14 deletions

View File

@@ -11,9 +11,3 @@ pub trait TestbedPlugin {
fn profiling_string(&self) -> String;
}
pub trait HarnessPlugin {
//FIXME: is run_callbacks needed?
fn run_callbacks(&mut self, physics: &mut PhysicsState, t: f32);
fn step(&mut self, physics: &mut PhysicsState);
fn profiling_string(&self) -> String;
}