GuiBuilder => Builder
This commit is contained in:
@@ -9,7 +9,6 @@ import haxework.dispath.IDispatcher;
|
||||
import haxework.gui.IGroupView;
|
||||
import haxework.gui.ButtonView;
|
||||
import haxework.gui.skin.ColorSkin;
|
||||
import haxework.gui.GuiBuilder;
|
||||
import haxework.gui.GroupView;
|
||||
|
||||
class PopupView extends GroupView {
|
||||
@@ -26,7 +25,7 @@ class PopupView extends GroupView {
|
||||
inLayout = false;
|
||||
skin = new ColorSkin(0x000000, 0.6);
|
||||
|
||||
contentView = GuiBuilder.buildFromAssets(resource, key, {listener:this});
|
||||
contentView = Builder.createFromAsset(resource, key).build({listener:this});
|
||||
addView(contentView);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user