Examples of DancingFlameProject


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
Copyright © 2018 www.massapi.com. 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.