//操作 public bool Move(BlockUnit.Directions direction) { bool result; lock (field) { result = field.Move(direction); } if (RecordPlayDataEnabled && result) { _playData.Events.Add(new GamePlayData.GamePlayEvent() { Round = this.State.Round, Time = _gameWatch.Elapsed, Event = GamePlayData.GamePlayEvent.EventType.MOVE, Arg = new GamePlayData.GamePlayEvent.Argument() { Object = direction } }); } return(result); }
//コントロール public bool Move(BlockUnit.Directions direction) { return(_game.Move(direction)); }