public House(DestructionXNA game) : base(game) { this.game = game; InitializeBlockLayouts(); CreateBlocks(); this.state = State.Disable; }
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; }
public DebugDrawer(DestructionXNA game) : base(game) { this.game = game; this.vertexData = new List<VertexPositionColor>(); }