Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #4
0
 void Start()
 {
     HPObject = GameObject.FindObjectOfType <FinalPoint>();
     image    = GetComponent <Image>();
 }
Пример #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);
 }