Skip to content

Instantly share code, notes, and snippets.

@stevenroose
Created May 22, 2014 18:47
Show Gist options
  • Save stevenroose/6a2bf7b9c6c95739c2aa to your computer and use it in GitHub Desktop.
Save stevenroose/6a2bf7b9c6c95739c2aa to your computer and use it in GitHub Desktop.
public void execute(Worm worm){
Map<String, Type> context = new HashMap<String, Type>();
context.put("self", new WormEntityType(worm));
programTree.execute(context);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment