Ejemplo n.º 1
0
 /** Same as draw (IGraphics, int, int) but takes the offset as a FinalPoint.
  *
  * @see #draw(IGraphics, int, int)
  */
 public void draw(IGraphics graphics, FinalPoint offset)
 {
     draw(graphics, offset.x, offset.y);
 }
Ejemplo n.º 2
0
 /** Same as drawLeftOf (IGraphics, DrawShape, int, int, int) but takes the
  * offset as a FinalPoint.
  *
  * @see #drawLeftOf (IGraphics, DrawShape, int, int, int)
  */
 public void drawLeftOf(IGraphics graphics, DrawShape target,
                        FinalPoint targetOffset, int gap)
 {
     drawLeftOf(graphics, target, targetOffset.x, targetOffset.y, gap);
 }
Ejemplo n.º 3
0
 /** Same as draw (IGraphics, int, int) but takes the offset as a FinalPoint.
  *
  * @see #draw(IGraphics, int, int)
  */
 public void draw(IGraphics graphics, FinalPoint offset)
 {
     draw(graphics, offset.x, offset.y);
 }
Ejemplo n.º 4
0
 void Start()
 {
     HPObject = GameObject.FindObjectOfType <FinalPoint>();
     image    = GetComponent <Image>();
 }
Ejemplo n.º 5
0
 /** Same as drawLeftOf (IGraphics, DrawShape, int, int, int) but takes the
  * offset as a FinalPoint.
  *
  * @see #drawLeftOf (IGraphics, DrawShape, int, int, int)
  */
 public void drawLeftOf(IGraphics graphics, DrawShape target,
       FinalPoint targetOffset, int gap)
 {
     drawLeftOf(graphics, target, targetOffset.x, targetOffset.y, gap);
 }