Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions arcade/sprite/animated.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(
center_x: float = 0.0,
center_y: float = 0.0,
scale: float = 1.0,
**kwargs,
):
super().__init__(
path_or_texture,
Expand Down Expand Up @@ -78,6 +79,7 @@ def __init__(
scale: float = 1.0,
center_x: float = 0.0,
center_y: float = 0.0,
**kwargs,
):
super().__init__(
None,
Expand Down
1 change: 1 addition & 0 deletions arcade/sprite/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def __init__(
center_x: float = 0.0,
center_y: float = 0.0,
angle: float = 0.0,
**kwargs,
):
""" Constructor """
# Position, size and orientation properties
Expand Down
3 changes: 2 additions & 1 deletion arcade/sprite/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def __init__(
center_y: float = 0,
color: Color = (255, 255, 255, 255),
angle: float = 0,
**kwargs,
):
"""
Create a solid-color rectangular sprite.
Expand Down Expand Up @@ -86,7 +87,7 @@ class SpriteCircle(Sprite):
:param bool soft: If ``True``, the circle will fade from an opaque
center to transparent edges.
"""
def __init__(self, radius: int, color: Color, soft: bool = False):
def __init__(self, radius: int, color: Color, soft: bool = False, **kwargs):
radius = int(radius)
diameter = radius * 2
color_rgba = arcade.get_four_byte_color(color)
Expand Down