public  void getInput(){
		if(Keyboard.isKeyDown(Keyboard.KEY_Z)){
		if (this.loc.x == GamePlay.enemy.loc.x+Tile.width)   
		{
			this.loc.x += Tile.width;
		}
		if (this.loc.x == GamePlay.enemy.loc.x-Tile.width)
		{
			this.loc.x -= Tile.width;
		}
		if (this.loc.x ==  GamePlay.enemy.loc.y+Tile.height)
		{
			this.loc.y += Tile.height;
		}
		if (this.loc.x ==  GamePlay.enemy.loc.y-Tile.height)
		{
			this.loc.y -= Tile.height;
		}
		
		}
		
		if(canMove == true){
			if(Keyboard.isKeyDown(Keyboard.KEY_D)){
				this.loc.x += Tile.width;
				Camera.transx += Tile.width;
				stamina -= 0.5f;
			}
			if(Keyboard.isKeyDown(Keyboard.KEY_S)){
				this.loc.y -= Tile.height;
				Camera.transy -= Tile.width;
				stamina -= 0.5f;
			}
			if(Keyboard.isKeyDown(Keyboard.KEY_A)){
				this.loc.x -= Tile.width;
				Camera.transx -= Tile.width;
				stamina -= 0.5f;
			}
			if(Keyboard.isKeyDown(Keyboard.KEY_W)){
				this.loc.y += Tile.height;
				Camera.transy += Tile.width;
				stamina -= 0.5f;
			}
			//stamina -= 5.0f;
			
		}

	}