pub fn begin_movement(&mut self, mv: Movement) -> bool {
        if self.ongoing_movement.is_valid() {
            false
        } else if mv.is_valid() {
            self.ongoing_movement = mv;
            true
        } else {
            false
        }
    }
/// This plays a move. The move will play out over time, and
/// it will switch to a new player's turn only when complete.Duration
///
/// This returns false if the movement is invalid, or if another
/// movement is ongoing. In this case no new movement is begun,
This plays a move. The move will play out over time, and
it will switch to a new player's turn only when complete.Duration

This returns false if the movement is invalid, or if another
movement is ongoing. In this case no new movement is begun.
This plays a move . The move will play out over time and it will switch to a new player ' s turn only when complete . Duration This returns false if the movement is invalid or if another movement is ongoing . In this case no new movement is begun .
pub fn begin_movement(&mut self, mv: Movement) -> bool {
        if self.ongoing_movement.is_valid() {
            false
        } else if mv.is_valid() {
            self.ongoing_movement = mv;
            true
        } else {
            false
        }
    }
pub fn begin_movement ( & mut self , mv : Movement ) -> bool { if self . ongoing_movement . is_valid ( ) { false } else if mv . is_valid ( ) { self . ongoing_movement = mv ; true } else { false } }
This plays a move.
This plays a move .
&mut self
mv
Movement
&mut self
mv
Movement