示例#1
0
        public GoneBananasGame()
        {
			// Here we tell our game where to load our content.
			Content.RootDirectory = "Content";

			CCApplication application = new GoneBananasApplication (this);
            Components.Add(application);
        }
示例#2
0
        public GoneBananasGame()
        {
            // Here we tell our game where to load our content.
            Content.RootDirectory = "Content";

            CCApplication application = new GoneBananasApplication(this);

            Components.Add(application);
        }
        public GoneBananasGame()
        {
            graphics = new GraphicsDeviceManager(this);

            Content.RootDirectory = "Content";
            graphics.IsFullScreen = false;

            CCApplication application = new GoneBananasApplication(this, graphics);
            Components.Add(application);

            WarpClient.initialize(Constants.AppKey, Constants.SecretKey);

            // You can take input from user or do facebook/3rd party login etc.
            // Using random name to keep things simple
            Context.username = RandomString(4);
        }
示例#4
0
        public GoneBananasGame()
        {
            graphics = new GraphicsDeviceManager(this);

            Content.RootDirectory = "Content";
            graphics.IsFullScreen = false;

            CCApplication application = new GoneBananasApplication(this, graphics);

            Components.Add(application);

            WarpClient.initialize(Constants.AppKey, Constants.SecretKey);

            // You can take input from user or do facebook/3rd party login etc.
            // Using random name to keep things simple
            Context.username = RandomString(4);
        }