Update to extension-haptics and update extension-admob aswell.
This commit is contained in:
+1
-1
@@ -819,7 +819,7 @@ class Project extends HXProject {
|
||||
|
||||
addHaxelib('funkin.haptic'); // Haptic feedback
|
||||
|
||||
addHaxelib('funkin.haptic'); // Haptic feedback
|
||||
addHaxelib('extension-haptics'); // Haptic feedback
|
||||
|
||||
if (FEATURE_PARTIAL_SOUNDS.isEnabled(this))
|
||||
{
|
||||
|
||||
@@ -91,7 +91,7 @@ class InitState extends FlxState
|
||||
#end
|
||||
|
||||
// Setup Haptic feedback
|
||||
funkin.haptic.Haptic.initialize();
|
||||
extension.haptics.Haptic.initialize();
|
||||
|
||||
#if FEATURE_ADMOB_ADS
|
||||
// Setup Admob
|
||||
|
||||
@@ -86,7 +86,7 @@ class AdMobUtil
|
||||
*/
|
||||
public static function init():Void
|
||||
{
|
||||
Admob.onStatus.add(function(event:String, message:String):Void {
|
||||
Admob.onEvent.add(function(event:String, message:String):Void {
|
||||
switch (event)
|
||||
{
|
||||
case AdmobEvent.INTERSTITIAL_LOADED:
|
||||
|
||||
@@ -2,7 +2,7 @@ package funkin.util;
|
||||
|
||||
import flixel.tweens.FlxTween;
|
||||
import flixel.math.FlxMath;
|
||||
import funkin.haptic.Haptic;
|
||||
import extension.haptics.Haptic;
|
||||
|
||||
/**
|
||||
* Utility class for extra vibration functions.
|
||||
|
||||
Reference in New Issue
Block a user