Package org.jwildfire.create.tina.dance

Examples of org.jwildfire.create.tina.dance.DancingFlameProject


      try {
        // read header
        @SuppressWarnings("unused")
        JWFDanceFileHeader header = (JWFDanceFileHeader) in.readObject();
        // read data
        DancingFlameProject project = new DancingFlameProject();
        @SuppressWarnings("unchecked")
        List<Flame> flames = (List<Flame>) in.readObject();
        @SuppressWarnings("unchecked")
        List<Motion> motions = (List<Motion>) in.readObject();
        String soundFilename = (String) in.readObject();
        RecordedFFT fft = (RecordedFFT) in.readObject();
        project.getFlames().addAll(flames);
        project.getMotions().addAll(motions);
        project.setSoundData(soundFilename, fft);
        return project;
      }
      finally {
        in.close();
      }
View Full Code Here

TOP

Related Classes of org.jwildfire.create.tina.dance.DancingFlameProject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.