diff options
Diffstat (limited to 'src/main/scala/sims/dynamics/joints/ForceJoint.scala')
-rw-r--r-- | src/main/scala/sims/dynamics/joints/ForceJoint.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/scala/sims/dynamics/joints/ForceJoint.scala b/src/main/scala/sims/dynamics/joints/ForceJoint.scala new file mode 100644 index 0000000..2074ee4 --- /dev/null +++ b/src/main/scala/sims/dynamics/joints/ForceJoint.scala @@ -0,0 +1,14 @@ +/* + * Simple Mechanics Simulator (SiMS) + * copyright (c) 2009 Jakob Odersky + * made available under the MIT License +*/ + +package sims.dynamics.joints + +/**A joint which can apply a force to its anchor bodies, thus adding or removing energy to the system.*/ +trait ForceJoint { + + /**Applies a force on the anchor bodies.*/ + def applyForce(): Unit +} |