コード例 #1
0
 public BasicButton(UiService uiService, Rectangle box, string displayName)
 {
     this.uiService = uiService;
     this.box = box;
     this.displayName = displayName;
     uiService.registerClickable(this);
 }
コード例 #2
0
 public SaveLoadLayer(UiService uiService)
 {
     saveButton = new BasicButton(uiService, new Rectangle(1030, 30, 100, 20), "Save");
     loadButton = new BasicButton(uiService, new Rectangle(1150, 30, 100, 20), "Load");
 }