mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
Adding Game Center classes skeletons. git-svn-id: http://xni.googlecode.com/svn/XNI@62 ac433895-eea3-a490-d80a-17149a75e588
32 lines
858 B
Objective-C
32 lines
858 B
Objective-C
//
|
|
// GameViewController.h
|
|
// XNI
|
|
//
|
|
// Created by Matej Jan on 22.7.10.
|
|
// Copyright 2010 Retronator, Razum. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <GameKit/GameKit.h>
|
|
|
|
#import "Retronator.Xni.Framework.classes.h"
|
|
@class GameView;
|
|
|
|
@interface GameViewController : UIViewController {
|
|
GameWindow *gameWindow;
|
|
DisplayOrientation supportedOrientations;
|
|
}
|
|
|
|
- initWithGameWindow: (GameWindow*)theGameWindow;
|
|
|
|
@property (nonatomic) DisplayOrientation supportedOrientations;
|
|
@property (nonatomic, readonly) GameView *gameView;
|
|
|
|
+ (DisplayOrientation) getDisplayOrientationForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
|
|
+ (UIInterfaceOrientation) getUIInterfaceOrientationFromString:(NSString*)interfaceOrientation;
|
|
|
|
+ (DisplayOrientation) getSupportedOrientationsFromPlist;
|
|
+ (BOOL) getIsFullscreenFromPlist;
|
|
|
|
@end
|