public override void ClickAction() { LevelObjective newObjective = ActiveData.levelObjective; int levelObjectiveInt = EventEditor.GetObjectiveInt(newObjective); if (levelObjectiveInt >= 0) { AddAction(new SetLevelObjectiveAction(newObjective, levelObjectiveInt)); } }
public override string ToString() { String returnString = base.ToString(); returnString += DataConversionLibrary.GetDurationStringFromEnum(durationEventType); if (enemyType != EnemyType.none) { returnString += EventEditor.GetSaveString(eventData.eventSettings); } return(returnString); }
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(); }
public PointEventData(PointEventType eventType) : base() { assignedEventType = eventType; eventSettings = EventEditor.GetPointSettings(eventType); }
public DurationEventData(DurationEventType eventType) { assignedEventType = eventType; eventSettings = EventEditor.GetDurationSettings(eventType); }