change an experience medicine which can move if someone was too close…#36
Open
Jokerknife wants to merge 1 commit intomasterfrom
Open
change an experience medicine which can move if someone was too close…#36Jokerknife wants to merge 1 commit intomasterfrom
Jokerknife wants to merge 1 commit intomasterfrom
Conversation
Owner
|
如果改了药丸的code的话,所有的药丸都会同步被改掉,那么我们应该考虑是否所有的“药丸”都有这种玩家接近就会逃跑的性质。一般来说应该不是这样的,药丸只要具有简单的补血功能就可以,会跑的药丸也许可以成为药丸中某种特殊药丸。所以这里特殊药丸应该新建一个class,然后继承Medicine类,之后就可以随便发挥啦。 |
CCisGG
requested changes
May 15, 2018
Owner
CCisGG
left a comment
There was a problem hiding this comment.
新建一个class,继承Medicine,然后把这个新的“特殊药丸”code附着到游戏里的药丸
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
change an experience medicine which can move if someone was too close to it