Commit c31cdab8 by Raphael

Switching

parent f1307d78
igem-quantifly
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/riderModule.iml" filepath="$PROJECT_DIR$/riderModule.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="59a76139-b7c6-419c-b685-d99043abb4e4" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../ProjectSettings/GraphicsSettings.asset" afterPath="$PROJECT_DIR$/../../ProjectSettings/GraphicsSettings.asset" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../ProjectSettings/ProjectSettings.asset" afterPath="$PROJECT_DIR$/../../ProjectSettings/ProjectSettings.asset" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../Assets/Scripts/GameController.cs" afterPath="$PROJECT_DIR$/../../Assets/Scripts/GameController.cs" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/CellularAutomaton.cs" afterPath="$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/CellularAutomaton.cs" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/../../ProjectSettings/ProjectVersion.txt" afterPath="$PROJECT_DIR$/../../ProjectSettings/ProjectVersion.txt" />
</list>
<ignored path="igem-quantifly.iws" />
<ignored path=".idea/workspace.xml" />
<ignored path=".idea/dataSources.local.xml" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="CreatePatchCommitExecutor">
<option name="PATCH_PATH" value="" />
</component>
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
<component name="FavoritesManager">
<favorites_list name="igem-quantifly" />
</component>
<component name="FileEditorManager">
<splitter split-orientation="horizontal" split-proportion="0.5">
<split-first>
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="CellularAutomaton.cs" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/CellularAutomaton.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-881">
<caret line="3" column="17" selection-start-line="3" selection-start-column="17" selection-end-line="3" selection-end-column="17" />
<folding>
<marker date="1476631531534" expanded="true" signature="6:139" ph="..." />
<marker date="1476631531534" expanded="true" signature="179:3168" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="221:600" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="280:325" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="380:425" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="493:594" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="636:3166" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="651:913" ph="Delegates" />
<marker date="1476631531534" expanded="true" signature="923:1179" ph="Fields" />
<marker date="1476631531534" expanded="true" signature="1189:1679" ph="Ctors" />
<marker date="1476631531534" expanded="true" signature="1298:1659" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="1689:3160" ph="Methods" />
<marker date="1476631531534" expanded="true" signature="1732:2101" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2177:2834" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2899:2961" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="3026:3140" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Cell.cs" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/Cell.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
<caret line="17" column="8" selection-start-line="17" selection-start-column="8" selection-end-line="17" selection-end-column="8" />
<folding>
<marker date="1470048894837" expanded="true" signature="6:46" ph="..." />
<marker date="1470048894837" expanded="true" signature="86:437" ph="{...}" />
<marker date="1470048894837" expanded="true" signature="110:435" ph="{...}" />
<marker date="1470048894837" expanded="true" signature="125:249" ph="Fields" />
<marker date="1470048894837" expanded="true" signature="259:429" ph="Ctors" />
<marker date="1470048894837" expanded="true" signature="322:409" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Map.cs" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/Utils/Map.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
</leaf>
</split-first>
<split-second>
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="GameController.cs" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/GameController.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
<caret line="27" column="8" selection-start-line="27" selection-start-column="8" selection-end-line="27" selection-end-column="8" />
<folding>
<marker date="1476634864569" expanded="true" signature="6:96" ph="..." />
<marker date="1476634864569" expanded="true" signature="122:1273" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="155:542" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="262:536" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="591:1271" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="859:1198" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="1221:1265" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</split-second>
</splitter>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../.." />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/CellularAutomaton.cs" />
<option value="$PROJECT_DIR$/../../Assets/Scripts/Utils/Map.cs" />
<option value="$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/Cell.cs" />
<option value="$PROJECT_DIR$/../../Assets/Scripts/GameController.cs" />
</list>
</option>
</component>
<component name="ProjectFrameBounds">
<option name="y" value="27" />
<option name="width" value="1920" />
<option name="height" value="1053" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectView">
<navigator currentView="SolutionExplorer" proportions="" version="1">
<flattenPackages />
<showMembers />
<showModules />
<showLibraryContents />
<hideEmptyPackages />
<abbreviatePackageNames />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType />
<manualOrder />
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="SolutionExplorer">
<subPane>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerViewPane$ProjectViewPaneTreeStructure$createRoot$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="igem-quantifly (1 project)" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Assembly-CSharp" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Assets" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Scripts" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerViewPane$ProjectViewPaneTreeStructure$createRoot$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="igem-quantifly (1 project)" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Assembly-CSharp" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Assets" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Scripts" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Utils" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerViewPane$ProjectViewPaneTreeStructure$createRoot$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="igem-quantifly (1 project)" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Assembly-CSharp" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Assets" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Scripts" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="MapGeneration" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerViewPane$ProjectViewPaneTreeStructure$createRoot$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="igem-quantifly (1 project)" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Assembly-CSharp" />
<option name="myItemType" value="com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerNodeRider" />
</PATH_ELEMENT>
</PATH>
</subPane>
<option name="show-file-system" value="false" />
</pane>
</panes>
</component>
<component name="PropertiesComponent">
<property name="SearchEverywhereHistoryKey" value="&#9;FILE&#9;file:///home/naliwe/work/igem-quantifly/Assets/Scripts/MapGeneration/CellularAutomaton.cs&#10;GC&#9;null&#9;null&#10;CA&#9;FILE&#9;file:///home/naliwe/work/igem-quantifly/Assets/Scripts/MapGeneration/CellularAutomaton.cs" />
</component>
<component name="RunManager" selected=".NET Project.Default">
<configuration default="true" type="DotNetProject" factoryName=".NET Project">
<option name="PROJECT_PATH" value="" />
<option name="PROJECT_KIND" value="None" />
<option name="EXE_PATH" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="" />
<method />
</configuration>
<configuration default="false" name="Default" type="DotNetProject" factoryName=".NET Project">
<option name="PROJECT_PATH" value="" />
<option name="PROJECT_KIND" value="None" />
<option name="EXE_PATH" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="" />
<method />
</configuration>
<list size="1">
<item index="0" class="java.lang.String" itemvalue=".NET Project.Default" />
</list>
</component>
<component name="ShelveChangesManager" show_recycled="false">
<option name="remove_strategy" value="false" />
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="59a76139-b7c6-419c-b685-d99043abb4e4" name="Default" comment="" />
<created>1474120888466</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1474120888466</updated>
<workItem from="1474120892468" duration="949000" />
<workItem from="1476627994724" duration="3690000" />
<workItem from="1476632678696" duration="296000" />
<workItem from="1476633454562" duration="1491000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="6426000" />
</component>
<component name="TodoView">
<todo-panel id="selected-file">
<is-autoscroll-to-source value="true" />
</todo-panel>
<todo-panel id="all">
<are-packages-shown value="true" />
<is-autoscroll-to-source value="true" />
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="0" y="27" width="1920" height="1053" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Change Signature" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24947916" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Errors in solution" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Build" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3290735" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="UnitTesting" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="NuGet" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager />
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/CellularAutomaton.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="4" column="20" selection-start-line="4" selection-start-column="20" selection-end-line="4" selection-end-column="20" />
<folding>
<marker date="1476631531534" expanded="true" signature="6:139" ph="..." />
<marker date="1476631531534" expanded="true" signature="179:3168" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="221:600" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="280:325" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="380:425" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="493:594" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="636:3166" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="651:913" ph="Delegates" />
<marker date="1476631531534" expanded="true" signature="923:1179" ph="Fields" />
<marker date="1476631531534" expanded="true" signature="1189:1679" ph="Ctors" />
<marker date="1476631531534" expanded="true" signature="1298:1659" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="1689:3160" ph="Methods" />
<marker date="1476631531534" expanded="true" signature="1732:2101" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2177:2834" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2899:2961" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="3026:3140" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/GameController.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<marker date="1476634864569" expanded="true" signature="6:96" ph="..." />
<marker date="1476634864569" expanded="true" signature="122:1273" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="155:542" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="262:536" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="591:1271" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="859:1198" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="1221:1265" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/CellularAutomaton.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
<caret line="7" column="13" selection-start-line="7" selection-start-column="13" selection-end-line="7" selection-end-column="13" />
<folding>
<marker date="1476631531534" expanded="true" signature="6:139" ph="..." />
<marker date="1476631531534" expanded="true" signature="179:3168" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="221:600" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="280:325" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="380:425" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="493:594" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="636:3166" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="651:913" ph="Delegates" />
<marker date="1476631531534" expanded="true" signature="923:1179" ph="Fields" />
<marker date="1476631531534" expanded="true" signature="1189:1679" ph="Ctors" />
<marker date="1476631531534" expanded="true" signature="1298:1659" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="1689:3160" ph="Methods" />
<marker date="1476631531534" expanded="true" signature="1732:2101" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2177:2834" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2899:2961" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="3026:3140" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/GameController.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="28" selection-start-line="0" selection-start-column="28" selection-end-line="0" selection-end-column="28" />
<folding>
<marker date="1476634864569" expanded="true" signature="6:96" ph="..." />
<marker date="1476634864569" expanded="true" signature="122:1273" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="155:542" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="262:536" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="591:1271" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="859:1198" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="1221:1265" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/CellularAutomaton.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1815">
<caret line="121" column="0" selection-start-line="121" selection-start-column="0" selection-end-line="121" selection-end-column="0" />
<folding>
<marker date="1476631531534" expanded="true" signature="6:139" ph="..." />
<marker date="1476631531534" expanded="true" signature="179:3168" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="221:600" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="280:325" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="380:425" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="493:594" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="636:3166" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="651:913" ph="Delegates" />
<marker date="1476631531534" expanded="true" signature="923:1179" ph="Fields" />
<marker date="1476631531534" expanded="true" signature="1189:1679" ph="Ctors" />
<marker date="1476631531534" expanded="true" signature="1298:1659" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="1689:3160" ph="Methods" />
<marker date="1476631531534" expanded="true" signature="1732:2101" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2177:2834" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2899:2961" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="3026:3140" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/Player.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/.local/share/JetBrains/Shared/v07/DecompilerCache/decompiler/5A2748CB-8DB8-4A56-B1DB-8F59D9BDA51F/0d/f5d64388/GC.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="11" column="22" selection-start-line="11" selection-start-column="22" selection-end-line="11" selection-end-column="22" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/Utils/Map.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/Cell.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
<caret line="17" column="8" selection-start-line="17" selection-start-column="8" selection-end-line="17" selection-end-column="8" />
<folding>
<marker date="1470048894837" expanded="true" signature="6:46" ph="..." />
<marker date="1470048894837" expanded="true" signature="86:437" ph="{...}" />
<marker date="1470048894837" expanded="true" signature="110:435" ph="{...}" />
<marker date="1470048894837" expanded="true" signature="125:249" ph="Fields" />
<marker date="1470048894837" expanded="true" signature="259:429" ph="Ctors" />
<marker date="1470048894837" expanded="true" signature="322:409" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/GameController.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
<caret line="27" column="8" selection-start-line="27" selection-start-column="8" selection-end-line="27" selection-end-column="8" />
<folding>
<marker date="1476634864569" expanded="true" signature="6:96" ph="..." />
<marker date="1476634864569" expanded="true" signature="122:1273" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="155:542" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="262:536" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="591:1271" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="859:1198" ph="{...}" />
<marker date="1476634864569" expanded="true" signature="1221:1265" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../Assets/Scripts/MapGeneration/CellularAutomaton.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-881">
<caret line="3" column="17" selection-start-line="3" selection-start-column="17" selection-end-line="3" selection-end-column="17" />
<folding>
<marker date="1476631531534" expanded="true" signature="6:139" ph="..." />
<marker date="1476631531534" expanded="true" signature="179:3168" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="221:600" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="280:325" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="380:425" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="493:594" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="636:3166" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="651:913" ph="Delegates" />
<marker date="1476631531534" expanded="true" signature="923:1179" ph="Fields" />
<marker date="1476631531534" expanded="true" signature="1189:1679" ph="Ctors" />
<marker date="1476631531534" expanded="true" signature="1298:1659" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="1689:3160" ph="Methods" />
<marker date="1476631531534" expanded="true" signature="1732:2101" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2177:2834" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="2899:2961" ph="{...}" />
<marker date="1476631531534" expanded="true" signature="3026:3140" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="RIDER_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$/../..">
<sourceFolder url="file://$MODULE_DIR$/../.." isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/../../Temp/bin" />
<excludeFolder url="file://$MODULE_DIR$/../../obj" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
fileFormatVersion: 2
guid: f6cb68588aa5f4d55ad0173e13f27e75
timeCreated: 1470581493
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
using Assets.Scripts.MapGeneration;
using Assets.Scripts.Utils;
using UnityEngine;
using System;
namespace Assets.Scripts
{
internal class CADelegates
{
static System.Random r = new System.Random();
public static bool CanGrow(Cell cell)
{
if (cell.Position.x == 0)
return true;
if (cell.Position.x % 10 == 0)
return (cell.Position.y < 16 && (cell.Position.y * r.Next(100)) / 100
< 50);
return false;
}
}
public class GameController : MonoBehaviour
{
public static int PoolSize = 256;
......@@ -25,8 +42,7 @@ namespace Assets.Scripts
_pooledWalls = new ObjectPool(PoolSize);
_ca = new CellularAutomaton(_map, TileType.Wall);
_ca.CanGrowRule = CADelegates.CanGrow;
}
void Update()
......
......@@ -44,9 +44,9 @@ namespace Assets.Scripts.MapGeneration
private Map _map;
private List<Cell> _toProcess;
private CanGrow _canGrowRule;
private WillGrow _willGrowRule;
private Picktarget _pickTargetRule;
public CanGrow CanGrowRule;
public WillGrow WillGrowRule;
public Picktarget PickTargetRule;
private TileType _targetType;
......@@ -59,9 +59,9 @@ namespace Assets.Scripts.MapGeneration
_map = map;
_targetType = targetType;
_canGrowRule = DefaultCellDelegates.DefaultCanGrow;
_willGrowRule = DefaultCellDelegates.DefaultWillGrow;
_pickTargetRule = DefaultCellDelegates.DefaultPickTarget;
CanGrowRule = DefaultCellDelegates.DefaultCanGrow;
WillGrowRule = DefaultCellDelegates.DefaultWillGrow;
PickTargetRule = DefaultCellDelegates.DefaultPickTarget;
_toProcess = new List<Cell> {new Cell(startX, startY, targetType)};
}
......@@ -76,10 +76,10 @@ namespace Assets.Scripts.MapGeneration
foreach (var cell in _toProcess)
{
if (!_canGrowRule(cell) || !_willGrowRule(cell))
if (!CanGrowRule(cell) || !WillGrowRule(cell))
continue;
Grow(_pickTargetRule(_map, cell), _targetType);
Grow(PickTargetRule(_map, cell), _targetType);
newCells.Add(cell);
}
......
m_EditorVersion: 5.4.0f3
m_EditorVersion: 5.4.1f1
m_StandardAssetsVersion: 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment