pixel-dungeon icon indicating copy to clipboard operation
pixel-dungeon copied to clipboard

Add missing casts and remove FloatMath methods calls

Open IriaSomobu opened this issue 5 years ago • 2 comments

This will remove compile errors on modern javac.

Note: android.util.FloatMath class was deprecated and all its methods was removed in API version 23 and above.

Also adding (Object) cast before bundle.getCollection() call will supress Incompatible types error in Android Studio.

IriaSomobu avatar Jul 23 '19 09:07 IriaSomobu

Good,But The Pixel Dungeon Not Update.

LingASDJ avatar Aug 13 '22 16:08 LingASDJ

@LingASDJ yep, but maybe this code will help someone else

IriaSomobu avatar Aug 13 '22 17:08 IriaSomobu