@@ -36,7 +36,7 @@ import { Test, registerTest } from "../../test";
3636import { Settings } from "../../settings" ;
3737import { HotKey , hotKeyState } from "../../utils/hotkeys" ;
3838
39- // eslint-disable-next-line @typescript-eslint/ no-loss-of-precision
39+ // eslint-disable-next-line no-loss-of-precision
4040const DEGTORAD = 0.0174532925199432957 ;
4141// const RADTODEG = 57.295779513082320876;
4242
@@ -341,7 +341,7 @@ class TopdownCar extends Test {
341341 this . m_car = new TDCar ( this . m_world ) ;
342342 }
343343
344- public getHotkeys ( ) : HotKey [ ] {
344+ public override getHotkeys ( ) : HotKey [ ] {
345345 return [
346346 hotKeyState ( "a" , "Turn Left" , this . m_controlState , "left" ) ,
347347 hotKeyState ( "d" , "Turn Right" , this . m_controlState , "right" ) ,
@@ -365,11 +365,11 @@ class TopdownCar extends Test {
365365 }
366366 }
367367
368- public BeginContact ( contact : b2Contact ) : void {
368+ public override BeginContact ( contact : b2Contact ) : void {
369369 TopdownCar . handleContact ( contact , true ) ;
370370 }
371371
372- public EndContact ( contact : b2Contact ) : void {
372+ public override EndContact ( contact : b2Contact ) : void {
373373 TopdownCar . handleContact ( contact , false ) ;
374374 }
375375
@@ -385,7 +385,7 @@ class TopdownCar extends Test {
385385 }
386386 }
387387
388- public Step ( settings : Settings , timeStep : number ) : void {
388+ public override Step ( settings : Settings , timeStep : number ) : void {
389389 /* this.m_tire.updateFriction();
390390 this.m_tire.updateDrive(this.m_controlState);
391391 this.m_tire.updateTurn(this.m_controlState); */
0 commit comments