types on some things
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
(savedVar :Map<String,String> lastSceneLabels (new Map))
|
(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)
|
(let [clazz (Type.getClass m)
|
||||||
className (Type.getClassName clazz)
|
className (Type.getClassName clazz)
|
||||||
currentValue (dictGet lastSceneLabels className)]
|
currentValue (dictGet lastSceneLabels className)]
|
||||||
|
@@ -444,9 +444,9 @@
|
|||||||
(prop &mut :FlxCamera inCamera)
|
(prop &mut :FlxCamera inCamera)
|
||||||
(prop &mut :FlxSprite outCameraPos)
|
(prop &mut :FlxSprite outCameraPos)
|
||||||
(prop &mut :FlxCamera outCamera)
|
(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
|
(when skipping
|
||||||
(setScene name cc)
|
(setScene skipping name cc)
|
||||||
(return))
|
(return))
|
||||||
(let [name (kiss.FuzzyMapTools.bestMatch scenes name)
|
(let [name (kiss.FuzzyMapTools.bestMatch scenes name)
|
||||||
lastSceneKey sceneKey
|
lastSceneKey sceneKey
|
||||||
|
Reference in New Issue
Block a user