public GameFallingObject(Vector2f startPosition, Vector2f maxVelocity, int width, int height, GameWorld world, boolean deadly)
	{
		this.world = world;
		this.deadly = deadly;
		this.width = width;
		this.height = height;
		object = new Body("falling object", new Box(width, height), 200);
		object.setPosition(startPosition.x, startPosition.y);
		object.setRotatable(true);
		object.setGravityEffected(true);
		object.setMaxVelocity(maxVelocity.x, maxVelocity.y);

		randImg = Math.random() * 2;
		int imageX = 0;
		if (randImg > 1)
			imageX = 200;
		try
		{
			if (deadly)
			{
				totalImage = ImageIO.read(GameFallingObject.class.getResource(Messages.sourceURI+"moving enemy.png"));
				objectImage = ((BufferedImage) totalImage).getSubimage(imageX, 0, 200, 200);
			}
			else
				objectImage = ImageIO.read(GameFallingObject.class.getResource(Messages.sourceURI+"platform.png"));
		}
		catch (IOException e)
		{
			e.printStackTrace();
		}
	}