Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 864cbc6

Browse files
authored
Merge pull request #110 from cortex-command-community/CF-isinside-area-luabinds
Add IsInsideX and IsInsideY to Area luabinds
2 parents 9fe8eb7 + d484196 commit 864cbc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Managers/LuaMan.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,8 @@ int LuaMan::Create()
532532
.def("AddBox", &Scene::Area::AddBox)
533533
.def("HasNoArea", &Scene::Area::HasNoArea)
534534
.def("IsInside", &Scene::Area::IsInside)
535+
.def("IsInsideX", &Scene::Area::IsInsideX)
536+
.def("IsInsideY", &Scene::Area::IsInsideY)
535537
.def("GetBoxInside", &Scene::Area::GetBoxInside)
536538
.def("RemoveBoxInside", &Scene::Area::RemoveBoxInside)
537539
.def("GetCenterPoint", &Scene::Area::GetCenterPoint)

0 commit comments

Comments
 (0)