1
This commit is contained in:
parent
2259e22861
commit
6809a20f00
@ -3540,3 +3540,13 @@ Creature* Room::GetCreatureByUniId(int uniid)
|
|||||||
Entity* e = GetEntityByUniId(uniid);
|
Entity* e = GetEntityByUniId(uniid);
|
||||||
return e && e->IsCreature(this) ? (Creature*)e : nullptr;
|
return e && e->IsCreature(this) ? (Creature*)e : nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Room::RandomSafeAreaPoint(glm::vec3& point)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Room::FindWalkablePointWithOutHouse(const glm::vec3& center, int try_count, int step, glm::vec3& point)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
@ -217,6 +217,8 @@ public:
|
|||||||
const mt::AirLine* GetAirLine() { return airline_; }
|
const mt::AirLine* GetAirLine() { return airline_; }
|
||||||
int GetPolyExtFlag(int poly_idx);
|
int GetPolyExtFlag(int poly_idx);
|
||||||
size_t GetRoomMaxPlayerNum();
|
size_t GetRoomMaxPlayerNum();
|
||||||
|
bool RandomSafeAreaPoint(glm::vec3& point);
|
||||||
|
bool FindWalkablePointWithOutHouse(const glm::vec3& center, int try_count, int step, glm::vec3& point);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void ShuaAndroid();
|
void ShuaAndroid();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user