Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 529 Bytes

Tests with different rendering techniques

How to run

Compile into a bin dir or something alike.

cd bin
java main.Main <rendering-method>

where rendering-method is "m1", "m2", etc. Check core.ViewController. Current FPS will be shown in the graphics context and in the system prompt.

Add a new renderer

  1. Create a new renderer class that implements gui.Renderer.
  2. Override the render() method.
  3. Initialize the instance variable rendererin core.ViewController to your new renderer in constructor.