Skip to content

Commit

Permalink
updating sprite.pyi to reflect source_rect move
Browse files Browse the repository at this point in the history
  • Loading branch information
JovialKnoll committed Dec 6, 2024
1 parent 3bc61fa commit 168626d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildconfig/stubs/pygame/sprite.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class _SupportsSprite(Protocol):
@property
def layer(self) -> int: ...
@layer.setter
source_rect: Union[FRect, Rect]
def layer(self, value: int) -> None: ...
def __init__(self, *groups: _Group) -> None: ...
def add_internal(self, group: _Group) -> None: ...
Expand All @@ -47,7 +48,6 @@ class _SupportsSprite(Protocol):
class _SupportsDirtySprite(_SupportsSprite, Protocol):
dirty: int
blendmode: int
source_rect: Union[FRect, Rect]
visible: int
_layer: int
def _set_visible(self, val: int) -> None: ...
Expand All @@ -66,6 +66,7 @@ class Sprite(_SupportsSprite):
@property
def layer(self) -> int: ...
@layer.setter
source_rect: Union[FRect, Rect]
def layer(self, value: int) -> None: ...
def __init__(self, *groups: _Group) -> None: ...
def add_internal(self, group: _Group) -> None: ...
Expand All @@ -81,7 +82,6 @@ class Sprite(_SupportsSprite):
class DirtySprite(_SupportsDirtySprite):
dirty: int
blendmode: int
source_rect: Union[FRect, Rect]
visible: int
_layer: int
def _set_visible(self, val: int) -> None: ...
Expand Down

0 comments on commit 168626d

Please sign in to comment.