コード例 #1
0
ファイル: CollisionDemo.cs プロジェクト: jumonb/hideandsneeze
        protected override void Initialize()
        {
            DebugDrawer = new DebugDrawer(this);
            this.Components.Add(DebugDrawer);

            Camera = new Camera(this);
            this.Components.Add(Camera);

            body2.Position = new JVector(4, 2);

            base.Initialize();
        }
コード例 #2
0
        protected override void Initialize()
        {
            DebugDrawer = new DebugDrawer(this);
            this.Components.Add(DebugDrawer);

            Camera = new Camera(this);
            this.Components.Add(Camera);

            body2.Position = new JVector(4, 2);

            base.Initialize();
        }
コード例 #3
0
        protected override void Initialize()
        {
            DebugDrawer = new DebugDrawer(this);
            this.Components.Add(DebugDrawer);

            Camera = new Camera(this);
            this.Components.Add(Camera);

            A  = new BoxShape(4, 1);
            PA = new JVector(-1, 2);
            VA = new JVector(0, 0);
            OA = MathHelper.ToRadians(0);

            B  = new BoxShape(1, 4);
            PB = new JVector(-3, 0);
            VB = new JVector(0, 0);
            OB = 0;

            base.Initialize();
        }
コード例 #4
0
        protected override void Initialize()
        {
            DebugDrawer = new DebugDrawer(this);
            this.Components.Add(DebugDrawer);

            Camera = new Camera(this);
            this.Components.Add(Camera);

            A = new BoxShape(4, 1);
            PA = new JVector(-1, 2);
            VA = new JVector(0, 0);
            OA = MathHelper.ToRadians(0);

            B = new BoxShape(1, 4);
            PB = new JVector(-3, 0);
            VB = new JVector(0, 0);
            OB = 0;

            base.Initialize();
        }