function Player()
{
	this.onLockedMouseMove = this.onLockedMouseMove.bind(this);
	this.onPointerLockChange = this.onPointerLockChange.bind(this);
	this.onLockedMouseDown = this.onLockedMouseDown.bind(this);
    this.keys = {};
    this.falling = false;
   	this.buildMaterial = BLOCK.DIRT;
	this.eventHandlers = {};
	this.velocity = new Vector( 0, 0, 0 );
	this.angles = [ 0, Math.PI, 0 ];
}
// Creates a new local player manager.
Creates a new local player manager.
Creates a new local player manager .
function Player()
{
	this.onLockedMouseMove = this.onLockedMouseMove.bind(this);
	this.onPointerLockChange = this.onPointerLockChange.bind(this);
	this.onLockedMouseDown = this.onLockedMouseDown.bind(this);
    this.keys = {};
    this.falling = false;
   	this.buildMaterial = BLOCK.DIRT;
	this.eventHandlers = {};
	this.velocity = new Vector( 0, 0, 0 );
	this.angles = [ 0, Math.PI, 0 ];
}
function Player ( ) { this . onLockedMouseMove = this . onLockedMouseMove . bind ( this ) ; this . onPointerLockChange = this . onPointerLockChange . bind ( this ) ; this . onLockedMouseDown = this . onLockedMouseDown . bind ( this ) ; this . keys = { } ; this . falling = false ; this . buildMaterial = BLOCK . DIRT ; this . eventHandlers = { } ; this . velocity = new Vector ( 0 , 0 , 0 ) ; this . angles = [ 0 , Math . PI , 0 ] ; }
Creates a new local player manager.
Creates a new local player manager .