Remove debug

This commit is contained in:
Ketchetwahmeegwun T. Southall 2022-01-30 06:26:37 -08:00
parent 001dbe9b44
commit 5395cf4d61

View File

@ -7,11 +7,9 @@ export class GibletEntity extends Entity {
elapsed: number = 0
constructor(ctor: string, dir: number, force: number) {
super(ctor)
console.log('dir', dir, 'force', force)
let r = dir * (Math.PI/180)
this.velocity[0] = Math.cos(r) * force
this.velocity[1] = Math.sin(r) * force
console.log('velocity', this.velocity)
}
update(delta: number, ctx?: WorldContext) {
super.update(delta)