Пример #1
0
    override public void render()
    {
        base.render();

        // MOSTRAR TODA EL AREA DEL DIBUJO.

        /*mRect.setXY (getX(), getY());
         *      mRect.setScaleX(WIDTH);
         *      mRect.setScaleY(HEIGHT);
         *      mRect.update ();
         *
         *      mRect.render ();*/

        // Bounding box.
        mRect2.setXY(getX() + X_OFFSET_BOUNDING_BOX, getY() + Y_OFFSET_BOUNDING_BOX);
        mRect2.setScaleX(WIDTH - (X_OFFSET_BOUNDING_BOX * 2));
        mRect2.setScaleY(HEIGHT - Y_OFFSET_BOUNDING_BOX);
        mRect2.update();

        mRect2.render();

        /*if (box != null)
         * {
         *  box.render();
         * }*/
        mHitBoxManager.render();
    }
Пример #2
0
 public override void render()
 {
     base.render();
     mMap.render();
     mAndy.render();
     //title.render();
     mHitBoxManager.render();
     mBigEnemy.render();
 }