Example #1
0
        public House(DestructionXNA game)
            : base(game)
        {
            this.game = game;

            InitializeBlockLayouts();
            CreateBlocks();

            this.state = State.Disable;
        }
Example #2
0
        public Floor(DestructionXNA game, Model model)
            : base(game)
        {
            this.game = game;
            this.model = model;

            this.physicsObject = new PhysicsObject("Floor");
            this.physicsObject.SetCreateProperty(1.0f, 0.2f, 0.7f, 0.6f);
            this.physicsObject.CreatePlane(Vector3.Up, 0);
            this.physicsObject.Body.Immovable = true;
        }
Example #3
0
 public DebugDrawer(DestructionXNA game)
     : base(game)
 {
     this.game = game;
     this.vertexData = new List<VertexPositionColor>();
 }