File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
engine/modules/entities/src/main/java/com/codingame/gameengine/module/entities Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 22
33import java .text .DecimalFormat ;
44import java .text .DecimalFormatSymbols ;
5+ import java .util .HashMap ;
6+ import java .util .List ;
57import java .util .Map ;
68import java .util .Map .Entry ;
79import java .util .Optional ;
810import java .util .Set ;
9- import java .util .HashMap ;
10- import java .util .List ;
1111import java .util .stream .Collectors ;
1212import java .util .stream .Stream ;
1313
Original file line number Diff line number Diff line change 33/**
44 * Any PIXI Entity based on a texture shares the properties found in this <code>TextureBasedEntity</code>.
55 *
6- * @param <T> a subclass inheriting Entity, used in order to return <b>this</b> as a T instead of a <code>TextureBasedEntity</code>.
6+ * @param <T>
7+ * a subclass inheriting Entity, used in order to return <b>this</b> as a T instead of a <code>TextureBasedEntity</code>.
78 */
89public abstract class TextureBasedEntity <T extends BlendableEntity <?>> extends BlendableEntity <T > {
910
10-
1111 private double anchorX = 0 , anchorY = 0 ;
1212 private int tint = 0xFFFFFF ;
1313
1414 TextureBasedEntity () {
1515 super ();
1616 }
1717
18-
19-
2018 /**
2119 * Sets both the X and Y anchors of this <code>TextureBasedEntity</code> as a percentage of its width and height.
2220 * <p>
You can’t perform that action at this time.
0 commit comments