use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[unsafe(super(WKInterfaceObject, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "WKInterfaceObject")]
pub struct WKInterfaceSKScene;
);
#[cfg(feature = "WKInterfaceObject")]
extern_conformance!(
unsafe impl NSObjectProtocol for WKInterfaceSKScene {}
);
#[cfg(feature = "WKInterfaceObject")]
impl WKInterfaceSKScene {
extern_methods!(
#[deprecated = "Use SpriteKit.SpriteView instead."]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(isPaused))]
#[unsafe(method_family = none)]
pub unsafe fn isPaused(&self) -> bool;
#[unsafe(method(setPaused:))]
#[unsafe(method_family = none)]
pub unsafe fn setPaused(&self, paused: bool);
#[unsafe(method(preferredFramesPerSecond))]
#[unsafe(method_family = none)]
pub unsafe fn preferredFramesPerSecond(&self) -> NSInteger;
#[unsafe(method(setPreferredFramesPerSecond:))]
#[unsafe(method_family = none)]
pub unsafe fn setPreferredFramesPerSecond(&self, preferred_frames_per_second: NSInteger);
);
}
#[cfg(feature = "WKInterfaceObject")]
impl WKInterfaceSKScene {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}