Beispiel #1
0
        private List <List <Vector3> > getBodyList()
        {
            // loads up the data
            var list = new List <List <Vector3> >
            {
                Printing.LoadData(data.bandFilePath, data.freddieFile),
                Printing.LoadData(data.bandFilePath, data.johnFile),
                Printing.LoadData(data.bandFilePath, data.brianFile),
                Printing.LoadData(data.bandFilePath, data.rogerFile)
            };

            return(list);
        }
Beispiel #2
0
        private IEnumerable <Vector3> GetBody()
        {
            switch (member)
            {
            case Characters.Freddie:
                return(Printing.LoadData(data.bandFilePath, data.freddieFile));

            case Characters.Roger:
                return(Printing.LoadData(data.bandFilePath, data.rogerFile));

            case Characters.Brian:
                return(Printing.LoadData(data.bandFilePath, data.brianFile));

            case Characters.John:
                return(Printing.LoadData(data.bandFilePath, data.johnFile));

            default:
                throw new ArgumentOutOfRangeException();
            }
        }