Exemplo n.º 1
0
        public void RegisterPhysicalElement(IPhysicalView physicalView)
        {
            _physicalViews.Add(physicalView);
            var gravityAmount = ORoot.ScreenUnit * AppSettings.BlockSizeU / 100f;

            physicalView.ApplyForce(new Force(gravityAmount, Math.PI / 2, new ExplosiveForceType(), -1, "GRAVITY !!!"));
        }
Exemplo n.º 2
0
 private void HandleCollisionWithBlock(IPhysicalView physicalView, SVector intersectionVector)
 {
 }