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
| package io.ruin.model.combat.special.melee; | |
| import io.ruin.api.utils.Random; | |
| import io.ruin.cache.Color; | |
| import io.ruin.cache.ItemDef; | |
| import io.ruin.model.combat.AttackStyle; | |
| import io.ruin.model.combat.AttackType; | |
| import io.ruin.model.combat.CombatUtils; | |
| import io.ruin.model.combat.Hit; | |
| import io.ruin.model.combat.special.Special; |
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
| public boolean hasLineOfSightTo(Tile other) | |
| { | |
| // Check if the tiles are on the same plane | |
| if (this.getPlane() != other.getPlane()) | |
| { | |
| return false; | |
| } | |
| // Get the collision data for the current plan |
NewerOlder