/** * \brief * The chesspp::board::Board calls this to change the position of the piece. * * \param to The new position of the piece. */ void move(Position_t const &to) { Position_t from = pos; p = to; moveUpdate(from, to); ++m; }
void CBaseChar::update() { //중력 계산 colliderUpdate(); //보는것 계산 lookUpdate(); //애니움직임 aniUpdate(); //스테이트로 움직임 stateUpdate(); //최종 벡터 연산 moveUpdate(); //무기 발사 weaponUpdate(); attackUpdate(); }