public long getNext(EditorObjectType type)
	{
		switch(type)
		{
		case BLOCK:
			blockN++;
			return blockN;
		case DEADLYBLOCK:
			dBlockN++;
			return dBlockN;
		case DEADLYPLATFORM:
			dPlatformN++;
			return dPlatformN;
		case DOOR:
			doorN++;
			return doorN;
		case OMRU:
			omruN++;
			return omruN;
		case PC:
			pcN++;
			return pcN;
		case PLATFORM:
			platformN++;
			return platformN;
		case SPIKE:
			spikeN++;
			return spikeN;
		case WALL:
			wallN++;
			return wallN;
		default:
			break;
		}
		return 0;
	}