Created
January 16, 2012 03:30
-
-
Save Forkk/1618896 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Renderers | |
HashMap<Class<? extends Entity>, Render> renderMap = | |
new HashMap<Class<? extends Entity>, Render>(); | |
// Bolt renderer | |
renderMap.put(EntityBolt.class, new RenderBolt()); | |
// Add the render map | |
AddRenderer(renderMap); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment