public PipeBody(Vector2 StartPosition, bool isTransitional, bool Side) { this.CurrentPosition = StartPosition; this.Type = SpriteHolder.PipeBodyFrame; this.Side = Side; this.IsTransitional = isTransitional; this.Sprite = new PipeSprite(this); this.ShouldBeRemoved = false; this.CollisionResponder = new PipeCollisionResponder(this); }
public PipeMerge(Vector2 StartPosition, bool isTransitional, bool Left) { this.CurrentPosition = StartPosition; if (Left) { this.Type = SpriteHolder.PipeMergeLeftFrame; } else { this.Type = SpriteHolder.PipeMergeRightFrame; } this.IsTransitional = isTransitional; this.Side = true; this.Sprite = new PipeSprite(this); this.ShouldBeRemoved = false; this.collisionResponder = new PipeCollisionResponder(this); }