瀏覽代碼

Do not export the events publicly

Borut 6 年之前
父節點
當前提交
5e23125de2
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/Physics/physicsHelper.ts

+ 4 - 4
src/Physics/physicsHelper.ts

@@ -223,7 +223,7 @@ export class PhysicsHelper {
  * Represents a physics radial explosion event
  * @see https://doc.babylonjs.com/how_to/using_the_physics_engine
  */
-export class PhysicsRadialExplosionEvent {
+class PhysicsRadialExplosionEvent {
 
     private _physicsEngine: PhysicsEngine;
     private _sphere: Mesh; // create a sphere, so we can get the intersecting meshes inside
@@ -342,7 +342,7 @@ export class PhysicsRadialExplosionEvent {
  * Represents a gravitational field event
  * @see https://doc.babylonjs.com/how_to/using_the_physics_engine
  */
-export class PhysicsGravitationalFieldEvent {
+class PhysicsGravitationalFieldEvent {
 
     private _tickCallback: any;
     private _sphere: Mesh;
@@ -424,7 +424,7 @@ export class PhysicsGravitationalFieldEvent {
  * Represents a physics updraft event
  * @see https://doc.babylonjs.com/how_to/using_the_physics_engine
  */
-export class PhysicsUpdraftEvent {
+class PhysicsUpdraftEvent {
 
     private _physicsEngine: PhysicsEngine;
     private _originTop: Vector3 = Vector3.Zero(); // the most upper part of the cylinder
@@ -564,7 +564,7 @@ export class PhysicsUpdraftEvent {
  * Represents a physics vortex event
  * @see https://doc.babylonjs.com/how_to/using_the_physics_engine
  */
-export class PhysicsVortexEvent {
+class PhysicsVortexEvent {
 
     private _physicsEngine: PhysicsEngine;
     private _originTop: Vector3 = Vector3.Zero(); // the most upper part of the cylinder