Class RectPrefab
java.lang.Object
dev.prozilla.pine.core.entity.prefab.Prefab
dev.prozilla.pine.core.entity.prefab.shape.ShapePrefab<Rect>
dev.prozilla.pine.core.entity.prefab.shape.RectPrefab
-
Field Summary
Fields inherited from class dev.prozilla.pine.core.entity.prefab.shape.ShapePrefab
color, shape, texture -
Constructor Summary
ConstructorsConstructorDescriptionRectPrefab(Rect shape) RectPrefab(Rect shape, TextureAsset texture) RectPrefab(Rect shape, TextureAsset texture, Color color) RectPrefab(Rect shape, Color color) RectPrefab(Rect shape, String texturePath) RectPrefab(Rect shape, String texturePath, Color color) -
Method Summary
Modifier and TypeMethodDescriptionprotected ShapeRenderer<Rect> createRenderer(Rect shape, TextureAsset texture, Color color) Methods inherited from class dev.prozilla.pine.core.entity.prefab.shape.ShapePrefab
apply, setColor, setShape, setTextureMethods inherited from class dev.prozilla.pine.core.entity.prefab.Prefab
addChild, addChildren, addChildren, instantiate, instantiate, removeChild, setActive, setName, setTag
-
Constructor Details
-
RectPrefab
-
RectPrefab
-
RectPrefab
-
RectPrefab
-
RectPrefab
-
RectPrefab
-
-
Method Details
-
createRenderer
- Overrides:
createRendererin classShapePrefab<Rect>
-