package model.bodyPart; import java.awt.*; /** * Concrete ABodyPart that represents a torso. * NOTE: made public for testing purpose. */ public class TorsoPart extends ABodyPart { /** * @param r */ public TorsoPart(IBody r) { super(r); } /** * Draws the body part on the supplied Graphics context. * @param g The Graphcis context to draw on. */ public void draw(Graphics g) { g.drawLine(65,70,65,140); // body } }