Skip to content
Permalink
Browse files

Some edit of asset.

  • Loading branch information...
WenceyWang committed Dec 18, 2016
1 parent 5b879b4 commit 7e7b603c64b877a71d5816b7b14176fa5c08d87f
Showing with 1,068 additions and 943 deletions.
  1. +1 −0 .gitignore
  2. +12 −12 Richman4L/Apps/CharacterMapRenderers/CharacterMapRenderer.cs
  3. +2 −2 Richman4L/Apps/CharacterMapRenderers/ConsoleChar.cs
  4. +1 −1 Richman4L/Apps/CharacterMapRenderers/ConsoleSize.cs
  5. +9 −10 Richman4L/Apps/CharacterMapRenderers/MapObjectRenderer/CharacterMapObjectRenderer.cs
  6. +4 −5 Richman4L/Apps/CharacterMapRenderers/MapObjectRenderer/ICharacterMapObjectRenderer.cs
  7. +53 −54 Richman4L/Apps/CharacterMapRenderers/MapObjectRenderer/Roads/AreaRoadRenderer.cs
  8. +65 −66 Richman4L/Apps/CharacterMapRenderers/MapObjectRenderer/Roads/NormalRoadRenderer.cs
  9. +29 −30 Richman4L/Apps/CharacterMapRenderers/MapObjectRenderer/Roads/OneWayRoadRenderer.cs
  10. +4 −5 Richman4L/Apps/CharacterMapRenderers/MapObjectRenderer/Roads/SmallAreaRenderer.cs
  11. +54 −55 Richman4L/Apps/CharacterMapRenderers/MapObjectRenderer/Roads/TRoadRanderer.cs
  12. +53 −54 Richman4L/Apps/CharacterMapRenderers/MapObjectRenderer/Roads/WithinRoadRenderer.cs
  13. +4 −5 Richman4L/Apps/CharacterMapRenderers/MapObjectRendererType.cs
  14. +3 −2 Richman4L/Apps/RichMan4LUni/App.xaml.cs
  15. +1 −1 Richman4L/Apps/RichMan4LUni/Logic/PageNavigateHelper.cs
  16. +1 −1 Richman4L/Apps/RichMan4LUni/Pages/AboutPage.xaml
  17. +23 −14 Richman4L/Apps/RichMan4LUni/Pages/AboutPage.xaml.cs
  18. +10 −1 Richman4L/Apps/RichMan4LUni/Pages/AnimatePage.cs
  19. +66 −65 Richman4L/Apps/RichMan4LUni/Pages/CreateGamePage.xaml.cs
  20. +3 −0 Richman4L/Apps/RichMan4LUni/Pages/LoadingPage.xaml.cs
  21. +2 −33 Richman4L/Apps/RichMan4LUni/Pages/MainPage.xaml.cs
  22. +3 −0 Richman4L/Apps/RichMan4LUni/Pages/PhotosensitiveSeizureWarningPage.xaml.cs
  23. +3 −0 Richman4L/Apps/RichMan4LUni/Pages/PlayerConfigPage.xaml.cs
  24. +14 −34 Richman4L/Apps/RichMan4LUni/Pages/SettingPage.xaml.cs
  25. +0 −14 Richman4L/Apps/RichMan4LUni/Pages/StartPage.xaml.cs
  26. +16 −15 Richman4L/Apps/RichMan4LUni/project.json
  27. +10 −6 Richman4L/Apps/Richman4LConsole/App.config
  28. +1 −1 Richman4L/Apps/Richman4LConsole/Pages/MainPage.cs
  29. +1 −1 Richman4L/Apps/Richman4LConsole/Program.cs
  30. +5 −4 Richman4L/Apps/Richman4LConsole/packages.config
  31. +4 −0 Richman4L/Apps/Richman4LUniUnitTest/Richman4LUniUnitTest.csproj
  32. +22 −12 Richman4L/Apps/Richman4LUniUnitTest/UnitTest.cs
  33. +14 −14 Richman4L/Apps/Richman4LUniUnitTest/project.json
  34. +105 −0 Richman4L/Apps/Richman4LUniUnitTest/project.lock.json
  35. +4 −4 Richman4L/Apps/Richman4LWeb/App_Start/WebApiConfig.cs
  36. +1 −1 Richman4L/Apps/Richman4LWeb/Controllers/SayingController.cs
  37. +4 −0 Richman4L/Apps/Richman4LWeb/Richman4LWeb.csproj
  38. +9 −4 Richman4L/Apps/Richman4LWeb/Web.config
  39. +40 −40 Richman4L/Apps/XamlMapRenderers/MapObjectRenderer/Roads/NormalRoadRenderer.xaml.cs
  40. +4 −4 Richman4L/Apps/XamlMapRenderers/XamlMapRenderer.xaml.cs
  41. +14 −14 Richman4L/Apps/XamlMapRenderers/project.json
  42. +2 −2 Richman4L/ExternalLibrary/FIGlet.Net/FIGlet.Net/AsciiArt.cs
  43. +2 −2 Richman4L/ExternalLibrary/FIGlet.Net/FIGlet.Net/FigletFont.cs
  44. +3 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/App.config
  45. +4 −4 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/ConsoleArea.cs
  46. +2 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/ConsoleChar.cs
  47. +1 −1 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/CheckableBase.cs
  48. +3 −3 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Control.cs
  49. +2 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Progressbar.cs
  50. +4 −4 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/RadioButton.cs
  51. +3 −3 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Renderers/ButtonRenderer.cs
  52. +2 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Renderers/CheckableChar.cs
  53. +2 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Renderers/ControlRenderer.cs
  54. +2 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Renderers/FIGletLabelRenderer.cs
  55. +3 −3 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Renderers/LabelRenderer.cs
  56. +2 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Renderers/PasswordBoxRenderer.cs
  57. +2 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/Renderers/TextboxRenderer.cs
  58. +1 −1 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Controls/StackPanel.cs
  59. +10 −10 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/FocusManager.cs
  60. +2 −2 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/FogConsole.cs
  61. +8 −8 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/LineStyle.cs
  62. +6 −6 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Rectangle.cs
  63. +4 −4 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/Size.cs
  64. +2 −1 Richman4L/ExternalLibrary/FoggyConsole/FoggyConsole/packages.config
  65. +1 −1 Richman4L/Logics/GameLogic/Buffs/RoadBuffs/Dog.cs
  66. +1 −1 Richman4L/Logics/GameLogic/Calendars/GameDate.cs
  67. +2 −2 Richman4L/Logics/GameLogic/EventRandomExtensions.cs
  68. +0 −7 Richman4L/Logics/GameLogic/Game.cs
  69. +8 −7 Richman4L/Logics/GameLogic/GameLogic.csproj
  70. +3 −3 Richman4L/Logics/GameLogic/GameSaying.cs
  71. BIN Richman4L/Logics/GameLogic/GameSayingResources.xml
  72. +1 −0 Richman4L/Logics/GameLogic/GameTitle.cs
  73. +12 −12 Richman4L/Logics/GameLogic/Maps/BlockAzimuthExtensions.cs
  74. +3 −2 Richman4L/Logics/GameLogic/Maps/Buildings/Building.cs
  75. BIN Richman4L/Logics/GameLogic/Maps/Buildings/Resources/SmallSimpleBuilding.xml
  76. +4 −3 Richman4L/Logics/GameLogic/Maps/Buildings/SmallSimpleBuilding.cs
  77. +4 −4 Richman4L/Logics/GameLogic/Maps/Map.cs
  78. +1 −12 Richman4L/Logics/GameLogic/Maps/MapObject.cs
  79. +3 −3 Richman4L/Logics/GameLogic/Maps/MapSize.cs
  80. +10 −10 Richman4L/Logics/GameLogic/Maps/Roads/CrossRoad.cs
  81. +6 −6 Richman4L/Logics/GameLogic/Maps/Roads/NormalRoad.cs
  82. +5 −5 Richman4L/Logics/GameLogic/Maps/Roads/OneWayRoad.cs
  83. +2 −2 Richman4L/Logics/GameLogic/Maps/Roads/ReturnRoad.cs
  84. +8 −8 Richman4L/Logics/GameLogic/Maps/Roads/TRoad.cs
  85. +3 −3 Richman4L/Logics/GameLogic/Maps/Roads/WithInRoad.cs
  86. +20 −0 Richman4L/Logics/GameLogic/ObjectWithAssetsBase.cs
  87. +4 −4 Richman4L/Logics/GameLogic/Players/Commands/PlayerMoveCommand.cs
  88. +8 −2 Richman4L/Logics/GameLogic/Players/Events/PlayerPayEventArgs.cs
  89. +1 −1 Richman4L/Logics/GameLogic/Players/Models/PlayerModel.cs
  90. +1 −0 Richman4L/Logics/GameLogic/Players/Models/PlayerModelProxy.cs
  91. +3 −5 ...ameLogic/Players/{Events/PlayerPayForBorrowingEventArgs.cs → PayReasons/PayForBorrowingReason.cs}
  92. +3 −6 .../Players/{Events/PlayerPayForBuildBuildingEventArgs.cs → PayReasons/PayForBuildBuildingReason.cs}
  93. +3 −6 .../GameLogic/Players/{Events/PlayerPayForBuyStockEventArgs.cs → PayReasons/PayForBuyStockReason.cs}
  94. +3 −9 ...Logics/GameLogic/Players/{Events/PlayerPayForCrossEventArgs.cs → PayReasons/PayForCrossReason.cs}
  95. +3 −9 ...rs/{Events/PlayerPayForMaintainBuildingEventArgs.cs → PayReasons/PayForMaintainBuildingReason.cs}
  96. +3 −6 .../Players/{Events/PlayerPayForStockDelegateEventArgs.cs → PayReasons/PayForStockDelegateReason.cs}
  97. +6 −9 ...yers/{Events/PlayerPayForUpgradeBuildingEventArgs.cs → PayReasons/PayForUpgradeBuildingReason.cs}
  98. +21 −0 Richman4L/Logics/GameLogic/Players/PayReasons/PayReason.cs
  99. +7 −55 Richman4L/Logics/GameLogic/Players/Player.cs
  100. +1 −1 Richman4L/Logics/GameLogic/Players/PlayerExpression.cs
  101. +8 −8 Richman4L/Logics/GameLogic/Security/HashCheckFailedException.cs
  102. +4 −0 Richman4L/Logics/GameLogic/Security/ReliableValue.cs
  103. +4 −4 Richman4L/Logics/GameLogic/Stocks/PriceController/NormalStockPriceController.cs
  104. +2 −3 Richman4L/Logics/GameLogic/Stocks/Stock.cs
  105. +3 −3 Richman4L/Logics/GameLogic/Stocks/StockPrice.cs
  106. +14 −14 Richman4L/Logics/GameLogic/project.json
  107. +5 −6 Richman4L/Logics/GameLogicUnitTest/Maps/Buildings/RegisterBuiltInBuildingTypeTest.cs
  108. +10 −11 Richman4L/Logics/GameLogicUnitTest/Maps/MapTest.cs
  109. +83 −0 Richman4L/Richman4L.sln
  110. +0 −10 Richman4L/Richman4L.vssscc
  111. +4 −3 Richman4L/Tools/BuildingTypeDesigner/App.config
  112. +7 −8 Richman4L/Tools/BuildingTypeDesigner/BuildingAccessoriesVisualizer.xaml.cs
  113. +7 −8 Richman4L/Tools/BuildingTypeDesigner/BuildingGradeVisualizer.xaml.cs
  114. +7 −7 Richman4L/Tools/BuildingTypeDesigner/Properties/AssemblyInfo.cs
@@ -4,3 +4,4 @@
*.vssscc
*.vspscc
/GitBackup/
/.vs/
@@ -16,17 +16,17 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using System ;
using System . Collections ;
using System . Collections . Generic ;
using System . Linq ;

using WenceyWang . Richman4L . Apps . CharacterMapRenderers . MapObjectRenderer ;
using WenceyWang . Richman4L . Apps . CharacterMapRenderers . MapObjectRenderer . Roads ;
using WenceyWang . Richman4L . Maps ;
using WenceyWang . Richman4L . Maps . Events ;
using WenceyWang . Richman4L . Maps . Roads ;
using WenceyWang . Richman4L . Properties ;
using System;
using System . Collections;
using System . Collections . Generic;
using System . Linq;

using WenceyWang . Richman4L . Apps . CharacterMapRenderers . MapObjectRenderer;
using WenceyWang . Richman4L . Apps . CharacterMapRenderers . MapObjectRenderer . Roads;
using WenceyWang . Richman4L . Maps;
using WenceyWang . Richman4L . Maps . Events;
using WenceyWang . Richman4L . Maps . Roads;
using WenceyWang . Richman4L . Properties;

namespace WenceyWang . Richman4L . Apps .CharacterMapRenderers
{
@@ -164,7 +164,7 @@ public static void LoadMapObjectRenderers ( )

MapObjectRendererType type =
MapObjectRendererTypeList . FirstOrDefault (
typ => ( typ . EntryType == mapRendererType ) && ( typ . TargetType == targetType ) ) ;
typ => typ . EntryType == mapRendererType && typ . TargetType == targetType ) ;

if ( type != null )
{
@@ -34,8 +34,8 @@ public struct ConsoleChar

public bool Equals ( ConsoleChar other )
=>
( Character == other . Character ) && ( ForegroundColor == other . ForegroundColor ) &&
( BackgroundColor == other . BackgroundColor ) ;
Character == other . Character && ForegroundColor == other . ForegroundColor &&
BackgroundColor == other . BackgroundColor ;

public static implicit operator ConsoleChar ( char character )
{
@@ -22,7 +22,7 @@ public struct ConsoleSize

public static readonly ConsoleSize Large = new ConsoleSize ( 5 , 3 ) ;

public bool Equals ( ConsoleSize other ) { return ( Width == other . Width ) && ( Height == other . Height ) ; }
public bool Equals ( ConsoleSize other ) { return Width == other . Width && Height == other . Height ; }

public override bool Equals ( object obj )
{
@@ -16,12 +16,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using System ;
using System . Collections ;
using System . Linq ;

using WenceyWang . Richman4L . Maps ;
using WenceyWang . Richman4L . Properties ;
using System;
using System . Collections;
using System . Linq;
using WenceyWang . Richman4L . Maps;
using WenceyWang . Richman4L . Properties;

namespace WenceyWang . Richman4L . Apps . CharacterMapRenderers .MapObjectRenderer
{
@@ -30,6 +29,10 @@ public abstract class CharacterMapObjectRenderer <T> : ICharacterMapObjectRender
where T : MapObject
{

MapObject IMapObjectRenderer . Target => Target ;

public T Target { get ; protected set ; }

public virtual ConsoleChar [ , ] CurrentView { get ; protected set ; }

public ConsoleSize Unit { get ; protected set ; }
@@ -72,10 +75,6 @@ public void SetTarget ( MapObject target )
}
}

MapObject IMapObjectRenderer . Target => Target ;

public T Target { get ; protected set ; }

public virtual void SetTarget ( [NotNull] T target )
{
if ( Target == null )
@@ -16,11 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

using System ;
using System . Collections ;
using System . Linq ;

using WenceyWang . Richman4L . Maps ;
using System;
using System . Collections;
using System . Linq;
using WenceyWang . Richman4L . Maps;

namespace WenceyWang . Richman4L . Apps . CharacterMapRenderers .MapObjectRenderer
{
@@ -1,9 +1,8 @@
using System ;
using System . Collections ;
using System . Linq ;

using WenceyWang . Richman4L . Maps ;
using WenceyWang . Richman4L . Maps . Roads ;
using System;
using System . Collections;
using System . Linq;
using WenceyWang . Richman4L . Maps;
using WenceyWang . Richman4L . Maps . Roads;

namespace WenceyWang . Richman4L . Apps . CharacterMapRenderers . MapObjectRenderer .Roads
{
@@ -17,10 +16,10 @@ public override void Update ( )
{
#region 连续路

if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ) ) )
if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up )
{
if ( Target . GetAzimuth ( Target . Area ) == BlockAzimuth . Left )
{
@@ -33,10 +32,10 @@ public override void Update ( )

//上下
}
if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left ) ) )
if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left )
{
if ( Target . GetAzimuth ( Target . Area ) == BlockAzimuth . Up )
{
@@ -49,31 +48,31 @@ public override void Update ( )

//左右
}
if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left ) ) )
if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left )
{
CurrentView [ 0 , 0 ] = new ConsoleChar ( '╝' , ConsoleColor . White , ConsoleColor . DarkGray ) ;
}
if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right ) ) )
if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right )
{
CurrentView [ 0 , 0 ] = new ConsoleChar ( '╚' , ConsoleColor . White , ConsoleColor . DarkGray ) ;
}
if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left ) ) )
if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left )
{
CurrentView [ 0 , 0 ] = new ConsoleChar ( '╗' , ConsoleColor . White , ConsoleColor . DarkGray ) ;
}
if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right ) ) )
if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right )
{
CurrentView [ 0 , 0 ] = new ConsoleChar ( '╔' , ConsoleColor . White , ConsoleColor . DarkGray ) ;
}
@@ -84,10 +83,10 @@ public override void Update ( )
{
#region 连续路

if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ) ) )
if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up )
{
switch ( Target . GetAzimuth ( Target . Area ) )
{
@@ -115,10 +114,10 @@ public override void Update ( )
}
}
}
else if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left ) ) )
else if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left )
{
switch ( Target . GetAzimuth ( Target . Area ) )
{
@@ -146,10 +145,10 @@ public override void Update ( )
}
}
}
else if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left ) ) )
else if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left )
{
switch ( Target . GetAzimuth ( Target . Area ) )
{
@@ -177,10 +176,10 @@ public override void Update ( )
}
}
}
else if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right ) ) )
else if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Up ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Up &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right )
{
switch ( Target . GetAzimuth ( Target . Area ) )
{
@@ -208,10 +207,10 @@ public override void Update ( )
}
}
}
else if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left ) ) )
else if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Left &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Left )
{
switch ( Target . GetAzimuth ( Target . Area ) )
{
@@ -237,10 +236,10 @@ public override void Update ( )
}
}
}
else if ( ( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ) ) ||
( ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down ) &&
( Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right ) ) )
else if ( Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Right &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Down ||
Target . GetAzimuth ( Target . ForwardRoad ) == BlockAzimuth . Down &&
Target . GetAzimuth ( Target . BackwardRoad ) == BlockAzimuth . Right )
{
switch ( Target . GetAzimuth ( Target . Area ) )
{

0 comments on commit 7e7b603

Please sign in to comment.
You can’t perform that action at this time.