KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Utilities.getDistance(uni, enemyuni) <= uni.getAttackRange() Utilities.getDistance returns double and getAttackRange returns int. The above code is part of an if statement and it needs to be true. So is the comparison valid? Thanks
Tags (comma-separated)
Save Edits
Cancel