blob: d5cf1586711010ec5b3ca2aeb940bb417906d00f (
plain)
1
2
3
4
5
6
7
8
9
10
|
use crate::harness::HarnessState;
use crate::PhysicsState;
use crate::physics::PhysicsEvents;
pub trait HarnessPlugin {
//FIXME: is run_callbacks needed?
fn run_callbacks(&mut self, physics: &mut PhysicsState, events: &PhysicsEvents, harness_state: &HarnessState, t: f32);
fn step(&mut self, physics: &mut PhysicsState);
fn profiling_string(&self) -> String;
}
|