internal static IDevkit CreateDevkit(DevkitTarget target, int targetIndex) { switch (target) { case DevkitTarget.PS3: return(new PS3(targetIndex)); case DevkitTarget.Xbox360: return(new Xbox360()); } return(null); }
public void SetTarget(DevkitTarget target, int targetIndex) { this.DevkitTarget = target; this.TargetIndex = targetIndex; this.Devkit = CreateDevkit(target, targetIndex); }