types on some things

This commit is contained in:
2023-08-31 18:54:33 -06:00
parent 7ac73aed79
commit 7a7ef391ee
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
(savedVar :Map<String,String> lastSceneLabels (new Map))
(function lastSceneForMovie [:FlxMovie m &opt :String setValue]
(function :String lastSceneForMovie [:FlxMovie m &opt :String setValue]
(let [clazz (Type.getClass m)
className (Type.getClassName clazz)
currentValue (dictGet lastSceneLabels className)]

View File

@@ -444,9 +444,9 @@
(prop &mut :FlxCamera inCamera)
(prop &mut :FlxSprite outCameraPos)
(prop &mut :FlxCamera outCamera)
(method :Void tweenScene [:Bool skipping name :Float speed :Continuation cc &opt :Bool fromLeft :String soundLoop :Float volumeMod]
(method :Void tweenScene [:Bool skipping :String name :Float speed :Continuation cc &opt :Bool fromLeft :String soundLoop :Float volumeMod]
(when skipping
(setScene name cc)
(setScene skipping name cc)
(return))
(let [name (kiss.FuzzyMapTools.bestMatch scenes name)
lastSceneKey sceneKey