public void drawObject(Graphics2D g2)
	{
		Box box = (Box) object.getShape();
		Vector2f[] pts = box.getPoints(object.getPosition(), object.getRotation());
		Vector2f p1 = pts[0];

		if (objectImage != null)
		{
			widthScale = width / 200.0;
			heightScale = height / 200.0;
			AffineTransform tr = new AffineTransform();
			tr.translate(p1.x, p1.y);
			tr.scale(widthScale, heightScale);
			tr.rotate(object.getRotation(), 0, 0);

			g2.drawImage(objectImage, tr, null);
		}

		if (deadly)
		{
			BodyList list = object.getTouching();
			if (list.contains(world.getHero().getHeroBody()))
			{
				try
				{
					Thread.sleep(1200);
				}
				catch (InterruptedException e)
				{
					e.printStackTrace();
				}
				world.killHero();
			}
		}
	}