コード例 #1
0
        public void GivenACarWithEnginePowerHPAndMassOfKg(int p0, int p1)
        {
            CarMass = p1;
            CarA    = Context.CreateGameObject(CarMass);

            // change horsepower to newtons
            EngineNewtonPower = p0 * 735.49875;
        }
コード例 #2
0
 public void GivenIHaveBodyAAndBodyB()
 {
     Context.World.RemoveObjects();
     Context.CreateGameObject();
     Context.CreateGameObject();
 }