public class LocateInBlockade
extends java.lang.Object
コンストラクタと説明 |
---|
LocateInBlockade(AdvancedWorldModel world) |
修飾子とタイプ | メソッドと説明 |
---|---|
Port |
createPort(rescuecore2.standard.entities.StandardEntity me,
CommunicationUtil comUtil) |
java.util.Collection<rescuecore2.standard.entities.Human> |
getLocateInBlocades() |
rescuecore2.standard.entities.Blockade |
getStuck(rescuecore2.standard.entities.Human human)
Humanが閉塞の内側にいるかどうかを返す。
|
boolean |
isContainsHuman(rescuecore2.standard.entities.Blockade blockade)
閉塞内にHumanがいるかどうかを返す。
|
rescuecore2.standard.entities.Blockade |
isLocateInBlockade(int x,
int y)
座標が閉塞の内側かどうかを返す。
|
rescuecore2.standard.entities.Blockade |
isLocateInBlockade(rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> location)
座標が閉塞の内側かどうかを返す。
|
void |
update(rescuecore2.worldmodel.ChangeSet changeSet) |
public LocateInBlockade(AdvancedWorldModel world)
public boolean isContainsHuman(rescuecore2.standard.entities.Blockade blockade)
blockade
- 判定する閉塞public rescuecore2.standard.entities.Blockade getStuck(rescuecore2.standard.entities.Human human)
human
- 判定するHumanpublic rescuecore2.standard.entities.Blockade isLocateInBlockade(rescuecore2.misc.Pair<java.lang.Integer,java.lang.Integer> location)
location
- 判定する座標public rescuecore2.standard.entities.Blockade isLocateInBlockade(int x, int y)
x
- 判定するX座標y
- 判定するY座標public void update(rescuecore2.worldmodel.ChangeSet changeSet)
public java.util.Collection<rescuecore2.standard.entities.Human> getLocateInBlocades()
public Port createPort(rescuecore2.standard.entities.StandardEntity me, CommunicationUtil comUtil)