Example #1
0
        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);
        }
Example #2
0
 public void SetTarget(DevkitTarget target, int targetIndex)
 {
     this.DevkitTarget = target;
     this.TargetIndex  = targetIndex;
     this.Devkit       = CreateDevkit(target, targetIndex);
 }