public override BlockType Rotated() { BlockCreater creater = new BlockCreater(); Block block = new Block(); string nextDirection = this.NextDierction(this.direction); block = creater.CreateBlocks(TypeNumber, BlockList[0].color, nextDirection); block.SetPoint(this.x, this.y); block.direction = nextDirection; return((BlockType)block); } // change the dirction of a block, set new bolck to replace it