예제 #1
0
파일: Console.cs 프로젝트: ARLM-Attic/neat
 public Console(NeatGame _game) : base(_game)
 {
     game = _game;
     Ram  = game.Ram;
     Consoles.Add(this);
     //Initialize();
 }
예제 #2
0
파일: Kintouch.cs 프로젝트: ARLM-Attic/neat
        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
                }
            };
        }
예제 #3
0
 public Form(NeatGame g)
 {
     Controls     = new Dictionary <string, Control>();
     controlChain = new LinkedList <Control>();
     game         = g;
     HasMouse     = game.ShowMouse;
 }
예제 #4
0
            public MenuSystem(NeatGame g, Vector2 b, SpriteFont f)
            {
                font = f;
                game = g;

                Position = b;
                Initialize();
            }
예제 #5
0
파일: Console.cs 프로젝트: ARLM-Attic/neat
 public Console(Game _game)
     : base(_game)
 {
     game       = new NeatGame(game);
     Ram        = new RAM();
     standAlone = true;
     Consoles.Add(this);
 }
예제 #6
0
파일: Object2D.cs 프로젝트: ARLM-Attic/neat
 /// <summary>
 /// Initializes a new instance of the Object2D class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public Object2D(NeatGame game)
     : base(game)
 {
 }
예제 #7
0
 public TextEffects(NeatGame game)
     : base(game)
 {
     this.Game = game;
 }
예제 #8
0
 public ElegantTextEngine(NeatGame game)
     : base(game)
 {
     this.Game = game;
 }
예제 #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);
 }
예제 #10
0
 public TextEffects(NeatGame game)
 {
     this.game = game;
 }
예제 #11
0
파일: MainMenu.cs 프로젝트: ARLM-Attic/neat
 public MainMenu(NeatGame G)
     : base(G)
 {
 }
예제 #12
0
 public InGameMenu(NeatGame G)
     : base(G)
 {
 }
예제 #13
0
 public override void Initialize(NeatGame game)
 {
     base.Initialize(game);
     Effect = game.GetEffect("crop");
 }
예제 #14
0
 public SpeechEngine(NeatGame game)
     : base(game)
 {
     this.Console = game.Console;
 }
예제 #15
0
 public QuitConfirmationMenu(NeatGame G)
     : base(G)
 {
 }
예제 #16
0
 public TrackHUD(NeatGame _game)
     : base(_game)
 {
     game = _game;
 }
예제 #17
0
 public StartScreen(NeatGame Game)
     : base(Game)
 {
 }
예제 #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;
 }
예제 #19
0
 public override void Initialize(NeatGame game)
 {
     base.Initialize(game);
     Effect = game.GetEffect("ripple");
     Tint   = Color.White;
 }
예제 #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);
 }
예제 #21
0
 public OptionsMenu(NeatGame G)
     : base(G)
 {
 }