@Override
	public boolean touchDown(int arg0, int arg1, int arg2, int arg3) {
		int x = ((int) mousePosition.x / 32) * 32;
		int y = ((int) mousePosition.y / 32) * 32;
		
		Vector2 position = new Vector2(x, y);
		if(cursor != null && !isSpotOccupied(position)) {
			switch(keyToType.get(cursor)) {
			case BRICK:
				if(coin >= Brick.COST) {
					blocks.add(new Brick(blockTextures, position));
					coin -= Brick.COST;
				}
				break;
			case WEAPON:
				if(coin >= WeaponBlock.COST) {
					blocks.add(new WeaponBlock(weaponTextures, position, arrow));
					coin -= WeaponBlock.COST;
				}
				break;
			default:
				break;
				
			}
		}
		return false;
	}