Esempio n. 1
0
 public Console(NeatGame _game) : base(_game)
 {
     game = _game;
     Ram  = game.Ram;
     Consoles.Add(this);
     //Initialize();
 }
Esempio n. 2
0
        public float JumpRange      = 10; //Pixels

        public Kintouch(NeatGame game, KinectEngine kinect = null) : base(game)
        {
            Debug.WriteLine("Kintouch object created.", "Kintouch");
            Debug.WriteLineIf(kinect == null, "Kinect is null.", "Kintouch");

            this.Game   = game;
            this.Kinect = kinect;

            TrackPoints = new List <TrackPointData>()
            {
                new TrackPointData(),
                new TrackPointData()
                {
                    TrackJoint        = JointType.HandRight,
                    BackupJoint       = JointType.WristRight,
                    TextureName       = "handright",
                    PushedTextureName = "handright_pushed"
                },
                new TrackPointData()
                {
                    SkeletonId = 1, Tint = Color.Pink
                },
                new TrackPointData()
                {
                    TrackJoint        = JointType.HandRight,
                    BackupJoint       = JointType.WristRight,
                    TextureName       = "handright",
                    PushedTextureName = "handright_pushed",
                    SkeletonId        = 1, Tint = Color.Pink
                }
            };
        }
Esempio n. 3
0
 public Form(NeatGame g)
 {
     Controls     = new Dictionary <string, Control>();
     controlChain = new LinkedList <Control>();
     game         = g;
     HasMouse     = game.ShowMouse;
 }
Esempio n. 4
0
            public MenuSystem(NeatGame g, Vector2 b, SpriteFont f)
            {
                font = f;
                game = g;

                Position = b;
                Initialize();
            }
Esempio n. 5
0
 public Console(Game _game)
     : base(_game)
 {
     game       = new NeatGame(game);
     Ram        = new RAM();
     standAlone = true;
     Consoles.Add(this);
 }
Esempio n. 6
0
 /// <summary>
 /// Initializes a new instance of the Object2D class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public Object2D(NeatGame game)
     : base(game)
 {
 }
Esempio n. 7
0
 public TextEffects(NeatGame game)
     : base(game)
 {
     this.Game = game;
 }
Esempio n. 8
0
 public ElegantTextEngine(NeatGame game)
     : base(game)
 {
     this.Game = game;
 }
Esempio n. 9
0
 /// <summary>
 /// Initializes a new instance of the ColorStreamRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public ColorStreamRenderer(NeatGame game)
     : base(game)
 {
     this.skeletonStream = new SkeletonStreamRenderer(game, this.SkeletonToColorMap);
 }
Esempio n. 10
0
 public TextEffects(NeatGame game)
 {
     this.game = game;
 }
Esempio n. 11
0
 public MainMenu(NeatGame G)
     : base(G)
 {
 }
Esempio n. 12
0
 public InGameMenu(NeatGame G)
     : base(G)
 {
 }
Esempio n. 13
0
 public override void Initialize(NeatGame game)
 {
     base.Initialize(game);
     Effect = game.GetEffect("crop");
 }
Esempio n. 14
0
 public SpeechEngine(NeatGame game)
     : base(game)
 {
     this.Console = game.Console;
 }
Esempio n. 15
0
 public QuitConfirmationMenu(NeatGame G)
     : base(G)
 {
 }
Esempio n. 16
0
 public TrackHUD(NeatGame _game)
     : base(_game)
 {
     game = _game;
 }
Esempio n. 17
0
 public StartScreen(NeatGame Game)
     : base(Game)
 {
 }
Esempio n. 18
0
 /// <summary>
 /// Initializes a new instance of the SkeletonStreamRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 /// <param name="map">The method used to map the SkeletonPoint to the target space.</param>
 public SkeletonStreamRenderer(NeatGame game, SkeletonPointMap map)
     : base(game)
 {
     this.mapMethod = map;
 }
Esempio n. 19
0
 public override void Initialize(NeatGame game)
 {
     base.Initialize(game);
     Effect = game.GetEffect("ripple");
     Tint   = Color.White;
 }
Esempio n. 20
0
 /// <summary>
 /// Initializes a new instance of the DepthStreamRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public DepthStreamRenderer(NeatGame game)
     : base(game)
 {
     this.skeletonStream = new SkeletonStreamRenderer(game, this.SkeletonToDepthMap);
     this.Size           = new Vector2(160, 120);
 }
Esempio n. 21
0
 public OptionsMenu(NeatGame G)
     : base(G)
 {
 }