|
@@ -3,7 +3,6 @@ import { wall } from './wall';
|
|
|
import { box } from './box';
|
|
|
import { coin } from './coin';
|
|
|
import { tools } from '../tools';
|
|
|
-import { SdkUtil } from '../sdkUtil';
|
|
|
import { game } from './game';
|
|
|
import { DirType, model_content_item_data } from '../data';
|
|
|
import { config } from '../config';
|
|
@@ -12,6 +11,7 @@ import { userDataManager } from '../manager/userDataManager';
|
|
|
import { audioManager } from '../manager/audioManager';
|
|
|
import { buff_manager } from './buff/buff_manager';
|
|
|
import { hp_bar } from './hp_bar';
|
|
|
+import { GameManager } from '../GameManager';
|
|
|
const { ccclass, property } = _decorator;
|
|
|
|
|
|
@ccclass('car')
|
|
@@ -209,7 +209,7 @@ export class car extends Component {
|
|
|
this.isStopY = true
|
|
|
this.updateScores()
|
|
|
// this.node.getComponent(RigidBody2D).sleep()
|
|
|
- SdkUtil.vibrateShort()
|
|
|
+ GameManager.vibrateShort()
|
|
|
// this.node.position = new Vec3(this.node.position.x, this.node.position.y-8)
|
|
|
// this.node.getComponent(RigidBody2D).linearVelocity = new Vec2(0,-2.5)
|
|
|
|