summary refs log tree commit diff stats
path: root/src/camera_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera_system.h')
-rw-r--r--src/camera_system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/camera_system.h b/src/camera_system.h index 8c9419c..7ff410d 100644 --- a/src/camera_system.h +++ b/src/camera_system.h
@@ -1,6 +1,7 @@
1#ifndef CAMERA_SYSTEM_H_D52ADAD3 1#ifndef CAMERA_SYSTEM_H_D52ADAD3
2#define CAMERA_SYSTEM_H_D52ADAD3 2#define CAMERA_SYSTEM_H_D52ADAD3
3 3
4#include <string_view>
4#include "consts.h" 5#include "consts.h"
5#include "system.h" 6#include "system.h"
6#include "vector.h" 7#include "vector.h"
@@ -29,6 +30,11 @@ public:
29 // Automatically locks the camera. 30 // Automatically locks the camera.
30 void panToSprite(int targetId, int length); 31 void panToSprite(int targetId, int length);
31 32
33 // Pans over to the provided warp point over the provided amount of time.
34 // - length is in milliseconds
35 // Automatically locks the camera.
36 void panToWarpPoint(std::string_view warpPoint, int length);
37
32 bool isPanning() const { return panning_; } 38 bool isPanning() const { return panning_; }
33 39
34 void tick(double dt) override; 40 void tick(double dt) override;