2010-07-22 16:13:55 +00:00
|
|
|
//
|
|
|
|
// GameViewController.h
|
|
|
|
// XNI
|
|
|
|
//
|
|
|
|
// Created by Matej Jan on 22.7.10.
|
|
|
|
// Copyright 2010 Retronator, Razum. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2010-12-08 04:57:47 +00:00
|
|
|
#import <GameKit/GameKit.h>
|
|
|
|
|
2010-07-22 16:13:55 +00:00
|
|
|
#import "Retronator.Xni.Framework.classes.h"
|
2011-03-29 15:00:49 +00:00
|
|
|
@class GameView;
|
2010-07-22 16:13:55 +00:00
|
|
|
|
2011-02-15 16:10:02 +00:00
|
|
|
@interface GameViewController : UIViewController {
|
2010-07-22 16:13:55 +00:00
|
|
|
GameWindow *gameWindow;
|
2010-11-02 09:29:19 +00:00
|
|
|
DisplayOrientation supportedOrientations;
|
2010-07-22 16:13:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- initWithGameWindow: (GameWindow*)theGameWindow;
|
|
|
|
|
2010-11-02 09:29:19 +00:00
|
|
|
@property (nonatomic) DisplayOrientation supportedOrientations;
|
2011-03-29 15:00:49 +00:00
|
|
|
@property (nonatomic, readonly) GameView *gameView;
|
2010-11-02 09:29:19 +00:00
|
|
|
|
2010-10-01 02:36:21 +00:00
|
|
|
+ (DisplayOrientation) getDisplayOrientationForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
|
2010-11-02 09:29:19 +00:00
|
|
|
+ (UIInterfaceOrientation) getUIInterfaceOrientationFromString:(NSString*)interfaceOrientation;
|
2010-10-01 02:36:21 +00:00
|
|
|
|
2010-11-02 09:29:19 +00:00
|
|
|
+ (DisplayOrientation) getSupportedOrientationsFromPlist;
|
|
|
|
+ (BOOL) getIsFullscreenFromPlist;
|
2010-12-08 04:57:47 +00:00
|
|
|
|
2010-07-22 16:13:55 +00:00
|
|
|
@end
|