Exemple #1
0
 public Button(int texture_id, Services.PostCategory category)
 {
     texture_id_ = texture_id;
     Texture2D tex = Locator.getTextureManager().getTexture(texture_id);
     size_ = new Vector2(buttonSize);
     category_ = category;
     slot_ = -1;
     getSource = null;
     getTarget = null;
 }
Exemple #2
0
        public Button(int texture_id, Services.PostCategory category)
        {
            texture_id_ = texture_id;
            Texture2D tex = Locator.getTextureManager().getTexture(texture_id);

            size_     = new Vector2(buttonSize);
            category_ = category;
            slot_     = -1;
            getSource = null;
            getTarget = null;
        }