本文整理汇总了C#中CocosSharp.CCApplication.StartGame方法的典型用法代码示例。如果您正苦于以下问题:C# CCApplication.StartGame方法的具体用法?C# CCApplication.StartGame怎么用?C# CCApplication.StartGame使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CocosSharp.CCApplication
的用法示例。
在下文中一共展示了CCApplication.StartGame方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FinishedLaunching
public override void FinishedLaunching (NSObject notification)
{
CCApplication application = new CCApplication(false, new CCSize(1024f, 768f));
application.ApplicationDelegate = new AppDelegate();
application.StartGame();
}
示例2: Main
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main(string[] args)
{
CCApplication application = new CCApplication(false, new CCSize(1024f, 768f));
application.ApplicationDelegate = new AppDelegate();
application.StartGame();
}
示例3: Main
public static void Main()
{
CCApplication application = new CCApplication(false, new CCSize(600f, 800f));
application.ApplicationDelegate = new AppDelegate();
application.StartGame();
}
示例4: FinishedLaunching
public override void FinishedLaunching(UIApplication app)
{
CCApplication application = new CCApplication();
application.ApplicationDelegate = new AppDelegate();
application.StartGame();
}
示例5: FinishedLaunching
public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
{
CCApplication application = new CCApplication ();
application.ApplicationDelegate = new GameAppDelegate ();
application.StartGame ();
}
示例6: ServerHandleGame
/// <summary>
/// Метод для работы потока обработчика логики игры
/// </summary>
private static void ServerHandleGame(object obj) {
ServerGame = new ServerGame();
var application = new CCApplication(false, new CCSize(1, 1));
ServerGame = new ServerGame();
application.ApplicationDelegate = ServerGame;
application.StartGame();
}
示例7: FinishedLaunching
public override void FinishedLaunching (UIApplication application)
{
var ccApp = new CCApplication {
ApplicationDelegate = new GameAppDelegate ()
};
ccApp.StartGame ();
}
示例8: Main
static void Main(string[] args)
{
ResourcesLoader.Instance.Args = args;
CCApplication application = new CCApplication(false, new CCSize(1024f, 768f));
application.ApplicationDelegate = new AppDelegate();
application.StartGame();
}
示例9: OnCreate
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
var application = new CCApplication();
application.ApplicationDelegate = new GoneBananasApplicationDelegate();
SetContentView(application.AndroidContentView);
application.StartGame();
}
示例10: OnCreate
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
CoinTimeGame.ContentLoading.XmlDeserializer.Self.Activity = this;
var application = new CCApplication ();
application.ApplicationDelegate = new GameAppDelegate ();
SetContentView (application.AndroidContentView);
application.StartGame ();
}
示例11: FinishedLaunching
//
// This method is invoked when the application has loaded and is ready to run. In this
// method you should instantiate the window, load the UI into it and then make the window
// visible.
//
// You have 17 seconds to return from this method, or iOS will terminate your application.
//
public override void FinishedLaunching(UIApplication app)
{
CCLog.Logger = System.Diagnostics.Debug.WriteLine;
CCApplication application = new CCApplication();
application.ApplicationDelegate = new GameAppDelegate();
application.StartGame();
}
示例12: OnCreate
/// <summary>
/// Called when the activity is about to be created.
/// </summary>
/// <param name="bundle">bundle parameter (unused)</param>
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
CCApplication application = new CCApplication();
application.ApplicationDelegate = new AppDelegate();
this.SetContentView(application.AndroidContentView);
application.StartGame();
}
示例13: OnCreate
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
var application = new CCApplication();
// GameAppDelegate is your class that inherits
// from CCApplicationDelegate
application.ApplicationDelegate = new GameAppDelegate();
SetContentView(application.AndroidContentView);
application.StartGame();
}
示例14: Main
private static void Main(string[] args) {
Log.Print("Starting Essence Client");
var application = new CCApplication(false, new CCSize(Settings.ScreenWidth, Settings.ScreenHeight)) {
ApplicationDelegate = new Client()
};
try {
application.StartGame();
}
catch (NullReferenceException e) {
Log.Print("App.StartGame NullPointer!: " + e.StackTrace, LogType.Error);
}
}
示例15: OnCreate
protected override void OnCreate(Bundle bundle)
{
base.OnCreate (bundle);
MyBouncingGame.GameAppDelegate.activity = this;
this.VolumeControlStream = Android.Media.Stream.Music;
application = new CCApplication ();
application.ApplicationDelegate = new GameAppDelegate ();
SetContentView (application.AndroidContentView);
application.StartGame ();
}