Skip to content

Update Main.py#32

Open
Toussaint24 wants to merge 1 commit intomasterfrom
Arm-Class-Constructor-Edit
Open

Update Main.py#32
Toussaint24 wants to merge 1 commit intomasterfrom
Arm-Class-Constructor-Edit

Conversation

@Toussaint24
Copy link
Copy Markdown
Owner

I edited the Arm class, so that instead of having initialized values to work specifically for the player, it works as an abstract constructor, so other sprites can have arm subclasses. The Arm class "get_rect" method was also edited to find the parent of whatever arm called the method, and use the rect of that parent to determine the arm's absolute position.

@Toussaint24 Toussaint24 added the enhancement New feature or request label Dec 21, 2019
@Toussaint24 Toussaint24 self-assigned this Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant