Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using SystemOfAQuincy;
- using Microsoft.Xna.Framework;
- namespace Test
- {
- internal class Program
- {
- public static void Main(string[] args)
- {
- using (var q = new QApplication())
- {
- //Add your scene objects to the game before it opens!
- q.Run(new YourGame());
- }
- }
- }
- class YourGame : QScene
- {
- //The only thing you need to do in your scene is setup the startup objects!
- //You do everything else inside other game objects!
- public override void Load()
- {
- //Creating an object is as easy as calling instantiate!
- //Instantiate objects here!
- Instantiate(new Tidal());
- }
- }
- public class Tidal : QBehavior
- {
- public override void Load()
- {
- var BackgroundColor = Color.Black;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement