We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f017e commit c01effdCopy full SHA for c01effd
engine/modules/entities/src/main/java/com/codingame/gameengine/module/entities/Shape.java
@@ -7,7 +7,7 @@
7
* @param <T>
8
* a subclass inheriting Entity, used in order to return <b>this</b> as a T instead of a Shape.
9
*/
10
-public abstract class Shape<T extends Entity<?>> extends Entity<T> implements Mask {
+public abstract class Shape<T extends BlendableEntity<?>> extends BlendableEntity<T> implements Mask {
11
12
private int lineColor = 0x0, lineWidth = 0, fillColor = 0xffffff;
13
private double fillAlpha = 1, lineAlpha = 1;
0 commit comments