Co-authored-by: Hyper_ <40342021+NotHyper-474@users.noreply.github.com> Co-authored-by: ACrazyTown <47027981+ACrazyTown@users.noreply.github.com> Co-authored-by: PurSnake <56314743+PurSnake@users.noreply.github.com>
17 lines
349 B
Haxe
17 lines
349 B
Haxe
package funkin.graphics;
|
|
|
|
import flixel.FlxCamera;
|
|
import flixel.system.frontEnds.CameraFrontEnd;
|
|
|
|
/**
|
|
* A `CameraFrontEnd` override that uses `FunkinCamera`!
|
|
*/
|
|
@:nullSafety
|
|
class FunkinCameraFrontEnd extends CameraFrontEnd
|
|
{
|
|
public override function reset(?newCamera:FlxCamera):Void
|
|
{
|
|
super.reset(newCamera ?? new FunkinCamera());
|
|
}
|
|
}
|