public static StarProgress GetLevelStar(int starNumber, string[] data, LevelEvents.EventTrigger[] events) { var progress = new StarProgress() { Number = starNumber }; if (data != null) { progress.Limit = GetStarGameLimit(data); progress.Restriction = GetStarRestriction(data); } if (events != null) { progress.Events = EnemyEventsFactory.GetLevelEvents(events); } return(progress); }
public StarProgressWrapper(StarProgress starProgress) { this.starProgress = starProgress; // TODO: Test what happens with this! It could be interesting! //maxDisplayStarField.SetValue(starProgress, 9); }
public static StarProgressWrapper Wrap(StarProgress starProgress) => new StarProgressWrapper { StarProgress = starProgress };