コード例 #1
0
        public override void ClickAction()
        {
            LevelObjective newObjective      = ActiveData.levelObjective;
            int            levelObjectiveInt = EventEditor.GetObjectiveInt(newObjective);

            if (levelObjectiveInt >= 0)
            {
                AddAction(new SetLevelObjectiveAction(newObjective, levelObjectiveInt));
            }
        }
コード例 #2
0
        public override string ToString()
        {
            String returnString = base.ToString();

            returnString += DataConversionLibrary.GetDurationStringFromEnum(durationEventType);

            if (enemyType != EnemyType.none)
            {
                returnString += EventEditor.GetSaveString(eventData.eventSettings);
            }

            return(returnString);
        }
コード例 #3
0
        public SquarePalethera(Sprite spriteSheet, Vector2 position)
        {
            this.spriteSheet = spriteSheet;
            this.position    = position;

            enemyOptions     = new List <OptionEnemyEntry>();
            pointOptions     = new List <OptionPointEntry>();
            durationOptions  = new List <OptionDurationEntry>();
            movementOptions  = new List <OptionMovementEntry>();
            objectiveOptions = new List <OptionObjectiveEntry>();

            eventEditor = new EventEditor();
        }
コード例 #4
0
 public PointEventData(PointEventType eventType)
     : base()
 {
     assignedEventType = eventType;
     eventSettings     = EventEditor.GetPointSettings(eventType);
 }
コード例 #5
0
 public DurationEventData(DurationEventType eventType)
 {
     assignedEventType = eventType;
     eventSettings     = EventEditor.GetDurationSettings(eventType);
 }