[6.5.0][视角变换] 添加自车相对屏幕位置设定

This commit is contained in:
renwj
2024-07-24 20:12:43 +08:00
parent a3a814ae03
commit f496eb65ea
3 changed files with 23 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package com.mogo.eagle.core.function.api.map.angle
import com.mogo.eagle.core.function.api.map.angle.ScreenToOriginDis.DEFAULT
import com.mogo.map.uicontroller.*
interface IAttach {
@@ -9,8 +10,15 @@ interface IAttach {
val delay: Long // 延迟多长时间切换
val isCanSwitch: Boolean // 是否可切换
val isCanTouch: Boolean // 是否响应地图触摸事件
fun getScreenToOriginDis(): ScreenToOriginDis = DEFAULT
}
enum class ScreenToOriginDis {
DEFAULT,
UP,
DOWN
}
interface Scene: IAttach