public bool ArePicturesEqual(IFlyweightBrick flyweightBrick) { return(flyweightBrick.Image == Image); }
public Brick(IFlyweightBrick brickImage, int position) { _brickImage = brickImage; _position = position; }
public bool AreEqual(IFlyweightBrick flyweightBrick) { return(flyweightBrick == this); }