メソッド実装

メソッド実装




そんなに大したものではありません。。。

まとめて書いちゃいます。

    //  領域設定
    public void SetRect( int posX, int posY, int width, int height )
    {
        m_Rect.left     = posX;
        m_Rect.top      = posY;
        m_Rect.right    = posX + width;
        m_Rect.bottom   = posY + height;
    }

    //  各種取得
    public Rect     GetRect()   { return m_Rect;    }
    public boolean  IsEnable()  { return true;      }

特に問題無いですね。。。



<前のページ