public GameScenesVisibility(params GameScenes[] gameScenes) { Type gameScenesVisibilityType = ToolbarTypes.getType("Toolbar.GameScenesVisibility"); realGameScenesVisibility = Activator.CreateInstance(gameScenesVisibilityType, new object[] { gameScenes }); visibleProperty = ToolbarTypes.getProperty(gameScenesVisibilityType, "Visible"); }
public PopupMenuDrawable() { Type type = ToolbarTypes.getType("Toolbar.PopupMenuDrawable"); realPopupMenuDrawable = Activator.CreateInstance(type, null); updateMethod = ToolbarTypes.getMethod(type, "Update"); drawMethod = ToolbarTypes.getMethod(type, "Draw"); addOptionMethod = ToolbarTypes.getMethod(type, "AddOption"); addSeparatorMethod = ToolbarTypes.getMethod(type, "AddSeparator"); destroyMethod = ToolbarTypes.getMethod(type, "Destroy"); onAnyOptionClickedEvent = ToolbarTypes.getEvent(type, "OnAnyOptionClicked"); }
public GameScenesVisibility(params GameScenes[] gameScenes) { System.Type type = ToolbarTypes.getType("Toolbar.GameScenesVisibility"); realGameScenesVisibility = System.Activator.CreateInstance(type, gameScenes); visibleProperty = ToolbarTypes.getProperty(type, "Visible"); }