#include <CField.hh>

Public Member Functions | |
| const CoordList & | getPath (const Coordinates &start, const Coordinates &dest, CPlayer *p) |
| Get path from one coordinates to another. | |
Field for the client.
| const CoordList & CField::getPath | ( | const Coordinates & | start, | |
| const Coordinates & | dest, | |||
| CPlayer * | p | |||
| ) |
Get path from one coordinates to another.
References Coordinates::col, COLS, ScoreCoord::from, Player::getMaRemain(), ScoreCoord::ma, Coordinates::row, and ROWS.
Referenced by CPlayer::move(), Api::moveLength(), and Api::movePossible().
1.6.3