public EditorObjectInformation(float rotation, float width, float height, Point2D.Float position, Point2D.Float startPosition, Point2D.Float endPosition,
			float speed, EditorObjectType objectType, long inputId)
	{
		this.id = inputId;

		this.rotation = rotation;
		this.width = width;
		this.height = height;
		this.position = position;
		this.objectType = objectType;
		this.speed = speed;

		if (objectType == EditorObjectType.PLATFORM || objectType == EditorObjectType.DEADLYPLATFORM || objectType == EditorObjectType.DOOR)
		{
			this.startPosition = startPosition;
			this.endPosition = endPosition;
		}
		else if (objectType == EditorObjectType.BLOCK || objectType == EditorObjectType.DEADLYBLOCK)
		{
			this.startPosition = startPosition;
			this.endPosition = position;
		}
		else
		{
			this.startPosition = position;
			this.endPosition = position;
		}
	}