public override void run(MapEventSystem.Operator aOperator, Action <Arg> aCallback) { Vector2 tDirection = aOperator.getCharacter(mTo).mMapPosition.vector2 - aOperator.getCharacter(mTarget).mMapPosition.vector2; aOperator.getAi(mTarget).turn(tDirection); aCallback(null); }
/// <summary>マップ移動のフェードアウト演出終了時</summary> private void fadeOutEnded(MapEventSystem.Operator aOperator) { mPlayerDirection = aOperator.getCharacter("player").mCharacterImage.getDirection(); aOperator.parent.mWorld.mMap.moveMap(this); }