Skip to content

Instantly share code, notes, and snippets.

@Vanilton18
Last active March 30, 2016 02:02
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 Vanilton18/4786e4a1a6f3073b41c07c12a2a03839 to your computer and use it in GitHub Desktop.
Save Vanilton18/4786e4a1a6f3073b41c07c12a2a03839 to your computer and use it in GitHub Desktop.
Pattern green = new Pattern("pictures\\green_on.png");
green.similar((float) 0.9);
Pattern red = new Pattern("pictures\\red_on.png");
red.similar((float) 0.9);
Pattern yellow = new Pattern("pictures\\yellow_on.png");
yellow.similar((float) 0.9);
Pattern blue = new Pattern("pictures\\blue_on.png");
blue.similar((float) 0.9);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment