Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Merging 'new-eff' to 'master' #54

Merged
merged 16 commits into from
Mar 22, 2020
Merged

Merging 'new-eff' to 'master' #54

merged 16 commits into from
Mar 22, 2020

Conversation

9a24f0
Copy link
Collaborator

@9a24f0 9a24f0 commented Mar 19, 2020

No description provided.

@9a24f0 9a24f0 requested review from McSinyx and Huy-Ngo March 19, 2020 15:33
src/alure.pxd Outdated Show resolved Hide resolved
src/alure.pxd Show resolved Hide resolved
src/palace.pyx Outdated Show resolved Hide resolved
src/palace.pyx Show resolved Hide resolved
src/palace.pyx Show resolved Hide resolved
src/palace.pyx Show resolved Hide resolved
src/palace.pyx Outdated Show resolved Hide resolved
src/palace.pyx Outdated Show resolved Hide resolved
src/palace.pyx Outdated Show resolved Hide resolved
src/palace.pyx Outdated Show resolved Hide resolved
src/palace.pyx Outdated Show resolved Hide resolved
src/alure.pxd Outdated Show resolved Hide resolved
src/palace.pyx Outdated Show resolved Hide resolved
src/palace.pyx Outdated Show resolved Hide resolved
@McSinyx McSinyx linked an issue Mar 21, 2020 that may be closed by this pull request
@McSinyx McSinyx force-pushed the new-eff branch 2 times, most recently from 25fb346 to 9ff81b5 Compare March 22, 2020 05:19
Copy link
Collaborator

@Huy-Ngo Huy-Ngo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me. Only this one point.

src/palace.pyx Outdated
@@ -1671,7 +1670,14 @@ cdef class AuxiliaryEffectSlot:
"""
self.impl.set_send_auto(value)

# TODO: apply effect
@setter
def effect(self, effect: Effect) -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be consistent with our code the argument for @setter methods is value.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to change the function's content too.

Copy link
Owner

@McSinyx McSinyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Feel free to squash and merge anytime. Remember to give the commit a meaningful message and remove the redundant log (usually all content of previous commit messages).

@9a24f0 9a24f0 merged commit d5cf95c into master Mar 22, 2020
@McSinyx McSinyx deleted the new-eff branch March 23, 2020 13:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Effect and relevant methods
3 participants