Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法直接运行 #3

Open
minami-coder opened this issue May 2, 2020 · 3 comments
Open

无法直接运行 #3

minami-coder opened this issue May 2, 2020 · 3 comments

Comments

@minami-coder
Copy link

错误

energy.java中hit方法使用了tank类的私有成员;
blood变量不是Tank类的成员或方法;

@minami-coder
Copy link
Author

注释掉相应的函数就可以运行了。

@gitShark01
Copy link

搞不懂哪有tank的私有成员

@xqr66
Copy link

xqr66 commented Jun 6, 2023

大佬,在Energy类里面有个hit函数,里面调用了tank的私有变量x和y,同时还使用了一个未知的blood变量

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants