diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-01-30 16:43:06 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-01-31 00:02:26 +0100 |
| commit | 307e07d6513f9524b7fcab5134494bd175465cd1 (patch) | |
| tree | ce025db2ea998bdcd8980a0ed443083f0daf8d35 /app/mac/scene.hh | |
| parent | 5959349f341a2380c0c3f41ec40a1e8e0d969d00 (diff) | |
handle input devices in the c++ application
Diffstat (limited to 'app/mac/scene.hh')
| -rw-r--r-- | app/mac/scene.hh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/mac/scene.hh b/app/mac/scene.hh index ba8eb31..e4f0a45 100644 --- a/app/mac/scene.hh +++ b/app/mac/scene.hh @@ -1,22 +1,15 @@ #pragma once -#import "controller-adapter.hh" - #import <SpriteKit/SpriteKit.h> +#import <GameController/GameController.h> NS_ASSUME_NONNULL_BEGIN @interface Scene : SKScene -- (instancetype)initWithFilePath:(NSString*)filePath NS_DESIGNATED_INITIALIZER; - + (instancetype)sceneWithSize:(CGSize)size NS_UNAVAILABLE; - (instancetype)initWithSize:(CGSize)size NS_UNAVAILABLE; - (instancetype)initWithCoder:(NSCoder*)coder NS_UNAVAILABLE; -- (instancetype)init NS_UNAVAILABLE; - -@property (nonatomic, nullable) id<ControllerAdapter> primaryController; -@property (nonatomic, nullable) id<ControllerAdapter> secondaryController; @end |
