public BlockBrick(int x, int y) : base(ObjectType.OT_Brick) { AnimatedCount = 4; this.x = x; this.y = y; SetWidthHeight(); TopRight = new BlockBrickPiece(x, y, -30, 1); TopLeft = new BlockBrickPiece(x, y, -30, -1); ButtomRight = new BlockBrickPiece(x, y, -15, 1); ButtomLeft = new BlockBrickPiece(x, y, -15, -1); AddObject(TopRight); AddObject(TopLeft); AddObject(ButtomRight); AddObject(ButtomLeft); TimerGenerator.AddTimerEventHandler(TimerType.TT_100, OnAnimate); }