Remove debug
This commit is contained in:
		
							parent
							
								
									001dbe9b44
								
							
						
					
					
						commit
						5395cf4d61
					
				| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user