- edited description
Syntax I do not understand (Go.h)
Issue #60
resolved
working, but meaningless syntax?
//this does not look ok?!
/** Get the x-coordinate of this move. */
inline int getX(int boardsize) const {return (this->isPass()||this->isResign()?pos:Go::Position::pos2x(pos,boardsize));};
/** Get the y-coordinate of this move. */
inline int getY(int boardsize) const {return (this->isPass()||this->isResign()?pos:Go::Position::pos2y(pos,boardsize));};
Comments (3)
-
reporter -
reporter - changed status to resolved
I just can not read
-
repo owner Glad you figured it out. Some white-space could definitely clarify those lines :)
- Log in to comment