Skip to content

Instantly share code, notes, and snippets.

@jonmarkgo
Created June 21, 2013 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonmarkgo/5834524 to your computer and use it in GitHub Desktop.
Save jonmarkgo/5834524 to your computer and use it in GitHub Desktop.
for(Actor actor : hollywood.getActorsList()){
if((actor.getAge() > 60 && actor.getSuccessRate() < 0.25) || actor.getSalary() <= 500 || actor.isStuntman()){
movie.getActorsList().add(actor);
}
}
movie.setHistory(null);
movie.setPlot(null);
movie.setDialogs(null);
movie.setSoundtrack(new File("C:UsersSlyMusicboom.wav"));
movie.setFrameTransitionEffect(new File("C:UsersSlyPicturesexplosion.gif"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment