Package mindustry.graphics
Class LightRenderer
java.lang.Object
mindustry.graphics.LightRenderer
Renders overlay lights. Client only.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
add
(float x, float y, TextureRegion region, float rotation, Color color, float opacity) void
add
(float x, float y, TextureRegion region, Color color, float opacity) void
void
draw()
boolean
enabled()
void
-
Constructor Details
-
LightRenderer
public LightRenderer()
-
-
Method Details
-
add
-
add
-
add
-
add
-
line
-
enabled
public boolean enabled() -
draw
public void draw()
-