Esempio n. 1
0
        public GameScenesVisibility(params GameScenes[] gameScenes)
        {
            Type gameScenesVisibilityType = ToolbarTypes.getType("Toolbar.GameScenesVisibility");

            this.realGameScenesVisibility = Activator.CreateInstance(gameScenesVisibilityType, new object[] { gameScenes });
            this.visibleProperty          = ToolbarTypes.getProperty(gameScenesVisibilityType, "Visible");
        }
Esempio n. 2
0
        internal ButtonTypes(Type iButtonType)
        {
            this.iButtonType = iButtonType;

            this.textProperty               = ToolbarTypes.getProperty(iButtonType, "Text");
            this.textColorProperty          = ToolbarTypes.getProperty(iButtonType, "TextColor");
            this.texturePathProperty        = ToolbarTypes.getProperty(iButtonType, "TexturePath");
            this.toolTipProperty            = ToolbarTypes.getProperty(iButtonType, "ToolTip");
            this.visibleProperty            = ToolbarTypes.getProperty(iButtonType, "Visible");
            this.visibilityProperty         = ToolbarTypes.getProperty(iButtonType, "Visibility");
            this.effectivelyVisibleProperty = ToolbarTypes.getProperty(iButtonType, "EffectivelyVisible");
            this.enabledProperty            = ToolbarTypes.getProperty(iButtonType, "Enabled");
            this.importantProperty          = ToolbarTypes.getProperty(iButtonType, "Important");
            this.drawableProperty           = ToolbarTypes.getProperty(iButtonType, "Drawable");
            this.onClickEvent               = ToolbarTypes.getEvent(iButtonType, "OnClick");
            this.onMouseEnterEvent          = ToolbarTypes.getEvent(iButtonType, "OnMouseEnter");
            this.onMouseLeaveEvent          = ToolbarTypes.getEvent(iButtonType, "OnMouseLeave");
            this.destroyMethod              = ToolbarTypes.getMethod(iButtonType, "Destroy");
        }