public function set(int $x, int $y) : void
    {
        $offset = $y * $this->rowSize + ($x >> 5);
        $this->bits[$offset] = $this->bits[$offset] | (1 << ($x & 0x1f));
    }
public function set(int $x, int $y) : void
    {
        $offset = $y * $this->rowSize + ($x >> 5);
        $this->bits[$offset] = $this->bits[$offset] | (1 << ($x & 0x1f));
    }
public function set ( int $ x , int $ y ) : void { $ offset = $ y * $ this -> rowSize + ( $ x >> 5 ) ; $ this -> bits [ $ offset ] = $ this -> bits [ $ offset ] | ( 1 << ( $ x & 0x1f ) ) ; }
Sets the given bit to true.
Sets the given bit to true .