From 77fad1c341787f11ee3b8aeaa5c58fe6ebbdebb6 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 6 Jul 2021 10:13:33 -0400 Subject: Added the ability to pan camera to a warp point --- src/script_system.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/script_system.cpp') diff --git a/src/script_system.cpp b/src/script_system.cpp index c820ecb..1a63643 100644 --- a/src/script_system.cpp +++ b/src/script_system.cpp @@ -106,6 +106,7 @@ ScriptSystem::ScriptSystem(Game& game) : game_(game) { engine_.new_usertype( "camera", "panToSprite", &CameraSystem::panToSprite, + "panToWarpPoint", &CameraSystem::panToWarpPoint, "isPanning", &CameraSystem::isPanning, "unlockCamera", &CameraSystem::unlockCamera, "setFollowingSprite", &CameraSystem::setFollowingSprite); -- cgit 1.4.1