Utilities for use in PlayN-based games.