public class SwimmingExaminer extends Object implements BlockExaminer
BlockExaminer.PassableState
Constructor and Description |
---|
SwimmingExaminer(NPC npc) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSwimInLava() |
float |
getCost(BlockSource source,
PathPoint point) |
BlockExaminer.PassableState |
isPassable(BlockSource source,
PathPoint point) |
boolean |
isSwimming() |
void |
setCanSwimInLava(boolean canSwimInLava) |
public SwimmingExaminer(NPC npc)
public boolean canSwimInLava()
public float getCost(BlockSource source, PathPoint point)
getCost
in interface BlockExaminer
public BlockExaminer.PassableState isPassable(BlockSource source, PathPoint point)
isPassable
in interface BlockExaminer
public boolean isSwimming()
public void setCanSwimInLava(boolean canSwimInLava)
Copyright © 2021. All rights reserved.