Class Renderer
java.lang.Object
xyz.jeremynoesen.pseudo3d.core.graphics.Renderer
public class Renderer
extends java.lang.Object
Scene renderer which will render a Scene onto a JavaFX Canvas
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Renderer
Create a new Renderer for the specified Scene- Parameters:
scene
- Scene to render
-
-
Method Details
-
render
public void render(javafx.scene.canvas.GraphicsContext graphicsContext, float deltaTime)Render the next full frame- Parameters:
graphicsContext
- GraphicsContext to draw todeltaTime
- Time elapsed in last frame, used for Sprite updating
-
equals
public boolean equals(java.lang.Object o)Check if two Renderer objects are equal- Overrides:
equals
in classjava.lang.Object
- Parameters:
o
- Renderer to check- Returns:
- True if equal
-