├── .gitignore ├── Assets ├── Data.meta ├── Data │ ├── Animation.meta │ ├── Animation │ │ ├── Animations.meta │ │ ├── Animations │ │ │ ├── Enemy1Attack.anim │ │ │ ├── Enemy1Attack.anim.meta │ │ │ ├── Enemy1Idle.anim │ │ │ ├── Enemy1Idle.anim.meta │ │ │ ├── Enemy2Attack.anim │ │ │ ├── Enemy2Attack.anim.meta │ │ │ ├── Enemy2Idle.anim │ │ │ ├── Enemy2Idle.anim.meta │ │ │ ├── PlayerChop.anim │ │ │ ├── PlayerChop.anim.meta │ │ │ ├── PlayerHit.anim │ │ │ ├── PlayerHit.anim.meta │ │ │ ├── PlayerIdle.anim │ │ │ └── PlayerIdle.anim.meta │ │ ├── AnimatorControllers.meta │ │ └── AnimatorControllers │ │ │ ├── Enemy1.controller │ │ │ ├── Enemy1.controller.meta │ │ │ ├── Enemy2.overrideController │ │ │ ├── Enemy2.overrideController.meta │ │ │ ├── Player.controller │ │ │ └── Player.controller.meta │ ├── Controllers.meta │ ├── Controllers │ │ ├── AudioController.prefab │ │ ├── AudioController.prefab.meta │ │ ├── GameController.prefab │ │ ├── GameController.prefab.meta │ │ ├── InputController.prefab │ │ └── InputController.prefab.meta │ ├── Fonts.meta │ ├── Fonts │ │ ├── OFL.txt │ │ ├── OFL.txt.meta │ │ ├── PressStart2P-Regular.ttf │ │ └── PressStart2P-Regular.ttf.meta │ ├── Music.meta │ └── Music │ │ ├── scavengers_music.aif │ │ └── scavengers_music.aif.meta ├── Libraries.meta ├── Libraries │ ├── Entitas-Unity.meta │ └── Entitas-Unity │ │ ├── Entitas.meta │ │ ├── Entitas │ │ ├── Compile.cs │ │ ├── Compile.cs.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── Entitas.CodeGeneration.CodeGenerator.dll │ │ │ ├── Entitas.CodeGeneration.CodeGenerator.dll.meta │ │ │ ├── Entitas.CodeGeneration.Plugins.dll │ │ │ ├── Entitas.CodeGeneration.Plugins.dll.meta │ │ │ ├── Entitas.CodeGeneration.Unity.Editor.dll │ │ │ ├── Entitas.CodeGeneration.Unity.Editor.dll.meta │ │ │ ├── Entitas.CodeGeneration.dll │ │ │ ├── Entitas.CodeGeneration.dll.meta │ │ │ ├── Entitas.Migration.Unity.Editor.dll │ │ │ ├── Entitas.Migration.Unity.Editor.dll.meta │ │ │ ├── Entitas.Migration.dll │ │ │ ├── Entitas.Migration.dll.meta │ │ │ ├── Entitas.Unity.Editor.dll │ │ │ ├── Entitas.Unity.Editor.dll.meta │ │ │ ├── Entitas.VisualDebugging.CodeGeneration.Plugins.dll │ │ │ ├── Entitas.VisualDebugging.CodeGeneration.Plugins.dll.meta │ │ │ ├── Entitas.VisualDebugging.Unity.Editor.dll │ │ │ ├── Entitas.VisualDebugging.Unity.Editor.dll.meta │ │ │ ├── Images.meta │ │ │ └── Images │ │ │ │ ├── EntitasContextErrorHierarchyIcon.png │ │ │ │ ├── EntitasContextErrorHierarchyIcon.png.meta │ │ │ │ ├── EntitasContextHierarchyIcon.png │ │ │ │ ├── EntitasContextHierarchyIcon.png.meta │ │ │ │ ├── EntitasEntityErrorHierarchyIcon.png │ │ │ │ ├── EntitasEntityErrorHierarchyIcon.png.meta │ │ │ │ ├── EntitasEntityHierarchyIcon.png │ │ │ │ ├── EntitasEntityHierarchyIcon.png.meta │ │ │ │ ├── EntitasHeader.png │ │ │ │ ├── EntitasHeader.png.meta │ │ │ │ ├── EntitasSystemsErrorHierarchyIcon.png │ │ │ │ ├── EntitasSystemsErrorHierarchyIcon.png.meta │ │ │ │ ├── EntitasSystemsHierarchyIcon.png │ │ │ │ └── EntitasSystemsHierarchyIcon.png.meta │ │ ├── Entitas.Blueprints.dll │ │ ├── Entitas.Blueprints.dll.meta │ │ ├── Entitas.CodeGeneration.Attributes.dll │ │ ├── Entitas.CodeGeneration.Attributes.dll.meta │ │ ├── Entitas.Unity.dll │ │ ├── Entitas.Unity.dll.meta │ │ ├── Entitas.Utils.dll │ │ ├── Entitas.Utils.dll.meta │ │ ├── Entitas.VisualDebugging.Unity.dll │ │ ├── Entitas.VisualDebugging.Unity.dll.meta │ │ ├── Entitas.dll │ │ ├── Entitas.dll.meta │ │ ├── fabl.dll │ │ └── fabl.dll.meta │ │ ├── EntitasUpgradeGuide.md │ │ ├── EntitasUpgradeGuide.md.meta │ │ ├── LICENSE.txt │ │ ├── LICENSE.txt.meta │ │ ├── Migration.meta │ │ ├── Migration │ │ ├── Entitas.Migration.dll │ │ ├── Entitas.Migration.dll.meta │ │ ├── Entitas.Utils.dll │ │ └── Entitas.Utils.dll.meta │ │ ├── README.md │ │ ├── README.md.meta │ │ ├── RELEASE_NOTES.md │ │ └── RELEASE_NOTES.md.meta ├── Resources.meta ├── Resources │ ├── Audio.meta │ ├── Audio │ │ ├── scavengers_chop1.aif │ │ ├── scavengers_chop1.aif.meta │ │ ├── scavengers_chop2.aif │ │ ├── scavengers_chop2.aif.meta │ │ ├── scavengers_die.aif │ │ ├── scavengers_die.aif.meta │ │ ├── scavengers_enemy1.aif │ │ ├── scavengers_enemy1.aif.meta │ │ ├── scavengers_enemy2.aif │ │ ├── scavengers_enemy2.aif.meta │ │ ├── scavengers_footstep1.aif │ │ ├── scavengers_footstep1.aif.meta │ │ ├── scavengers_footstep2.aif │ │ ├── scavengers_footstep2.aif.meta │ │ ├── scavengers_fruit1.aif │ │ ├── scavengers_fruit1.aif.meta │ │ ├── scavengers_fruit2.aif │ │ ├── scavengers_fruit2.aif.meta │ │ ├── scavengers_soda1.aif │ │ ├── scavengers_soda1.aif.meta │ │ ├── scavengers_soda2.aif │ │ └── scavengers_soda2.aif.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── Enemy1.prefab │ │ ├── Enemy1.prefab.meta │ │ ├── Enemy2.prefab │ │ ├── Enemy2.prefab.meta │ │ ├── Exit.prefab │ │ ├── Exit.prefab.meta │ │ ├── Floor1.prefab │ │ ├── Floor1.prefab.meta │ │ ├── Floor2.prefab │ │ ├── Floor2.prefab.meta │ │ ├── Floor3.prefab │ │ ├── Floor3.prefab.meta │ │ ├── Floor4.prefab │ │ ├── Floor4.prefab.meta │ │ ├── Floor5.prefab │ │ ├── Floor5.prefab.meta │ │ ├── Floor6.prefab │ │ ├── Floor6.prefab.meta │ │ ├── Floor7.prefab │ │ ├── Floor7.prefab.meta │ │ ├── Floor8.prefab │ │ ├── Floor8.prefab.meta │ │ ├── Food.prefab │ │ ├── Food.prefab.meta │ │ ├── OuterWall1.prefab │ │ ├── OuterWall1.prefab.meta │ │ ├── OuterWall2.prefab │ │ ├── OuterWall2.prefab.meta │ │ ├── OuterWall3.prefab │ │ ├── OuterWall3.prefab.meta │ │ ├── Player.prefab │ │ ├── Player.prefab.meta │ │ ├── Soda.prefab │ │ ├── Soda.prefab.meta │ │ ├── Wall1.prefab │ │ ├── Wall1.prefab.meta │ │ ├── Wall2.prefab │ │ ├── Wall2.prefab.meta │ │ ├── Wall3.prefab │ │ ├── Wall3.prefab.meta │ │ ├── Wall4.prefab │ │ ├── Wall4.prefab.meta │ │ ├── Wall5.prefab │ │ ├── Wall5.prefab.meta │ │ ├── Wall6.prefab │ │ ├── Wall6.prefab.meta │ │ ├── Wall7.prefab │ │ ├── Wall7.prefab.meta │ │ ├── Wall8.prefab │ │ └── Wall8.prefab.meta │ ├── Sprites.meta │ └── Sprites │ │ ├── Scavengers_SpriteSheet.png │ │ └── Scavengers_SpriteSheet.png.meta ├── Scenes.meta ├── Scenes │ ├── Main.unity │ └── Main.unity.meta ├── Scripts.meta ├── Scripts │ ├── FoodTextController.cs │ ├── FoodTextController.cs.meta │ ├── GameController.cs │ ├── GameController.cs.meta │ ├── InputController.cs │ ├── InputController.cs.meta │ ├── LevelTextController.cs │ ├── LevelTextController.cs.meta │ ├── SoundController.cs │ └── SoundController.cs.meta ├── Sources.meta └── Sources │ ├── DefaultConfigConstants.cs │ ├── DefaultConfigConstants.cs.meta │ ├── Enums.meta │ ├── Enums │ ├── Animation.cs │ ├── Animation.cs.meta │ ├── Audio.cs │ ├── Audio.cs.meta │ ├── Movement.cs │ ├── Movement.cs.meta │ ├── Prefab.cs │ ├── Prefab.cs.meta │ ├── Sprite.cs │ └── Sprite.cs.meta │ ├── Extensions.meta │ ├── Extensions │ ├── ArrayExtensions.cs │ ├── ArrayExtensions.cs.meta │ ├── ContextExtensions.cs │ ├── ContextExtensions.cs.meta │ ├── EntityExtensions.cs │ ├── EntityExtensions.cs.meta │ ├── ICollectionExtensions.cs │ ├── ICollectionExtensions.cs.meta │ ├── ICollectionOfEntityExtensions.cs │ ├── ICollectionOfEntityExtensions.cs.meta │ ├── IListExtensions.cs │ ├── IListExtensions.cs.meta │ ├── LinkedListExtensions.cs │ └── LinkedListExtensions.cs.meta │ ├── Features.meta │ ├── Features │ ├── AIMove.meta │ ├── AIMove │ │ ├── AIMoveComponent.cs │ │ ├── AIMoveComponent.cs.meta │ │ ├── AIMoveSystem.cs │ │ ├── AIMoveSystem.cs.meta │ │ ├── AIMoveTargetComponent.cs │ │ └── AIMoveTargetComponent.cs.meta │ ├── Animation.meta │ ├── Animation │ │ ├── AnimationComponent.cs │ │ ├── AnimationComponent.cs.meta │ │ ├── AnimationSystem.cs │ │ └── AnimationSystem.cs.meta │ ├── Audio.meta │ ├── Audio │ │ ├── AudioSourceComponents.cs │ │ ├── AudioSourceComponents.cs.meta │ │ ├── BaseAudioComponent.cs │ │ └── BaseAudioComponent.cs.meta │ ├── Components.meta │ ├── Components │ │ ├── ConfigComponent.cs │ │ ├── ConfigComponent.cs.meta │ │ ├── PositionComponent.cs │ │ └── PositionComponent.cs.meta │ ├── Coroutine.meta │ ├── Coroutine │ │ ├── CoroutineComponent.cs │ │ ├── CoroutineComponent.cs.meta │ │ ├── CoroutineSystem.cs │ │ └── CoroutineSystem.cs.meta │ ├── DamageSprite.meta │ ├── DamageSprite │ │ ├── DamageSpriteComponent.cs │ │ ├── DamageSpriteComponent.cs.meta │ │ ├── DamageSpriteSystem.cs │ │ ├── DamageSpriteSystem.cs.meta │ │ ├── SpriteCacheComponent.cs │ │ └── SpriteCacheComponent.cs.meta │ ├── Destructible.meta │ ├── Destructible │ │ ├── DestructibleComponent.cs │ │ ├── DestructibleComponent.cs.meta │ │ ├── DestructibleSystem.cs │ │ └── DestructibleSystem.cs.meta │ ├── Exit.meta │ ├── Exit │ │ ├── DeleteOnExitComponent.cs │ │ ├── DeleteOnExitComponent.cs.meta │ │ ├── ExitComponent.cs │ │ ├── ExitComponent.cs.meta │ │ ├── ExitSystem.cs │ │ ├── ExitSystem.cs.meta │ │ ├── LevelComponent.cs │ │ ├── LevelComponent.cs.meta │ │ ├── LevelTransitionDelayComponent.cs │ │ └── LevelTransitionDelayComponent.cs.meta │ ├── Food.meta │ ├── Food │ │ ├── FoodBagComponent.cs │ │ ├── FoodBagComponent.cs.meta │ │ ├── FoodComponent.cs │ │ ├── FoodComponent.cs.meta │ │ ├── FoodDamagerComponent.cs │ │ ├── FoodDamagerComponent.cs.meta │ │ ├── FoodSystem.cs │ │ └── FoodSystem.cs.meta │ ├── GameBoard.meta │ ├── GameBoard │ │ ├── CreateGameBoardSystem.cs │ │ ├── CreateGameBoardSystem.cs.meta │ │ ├── GameBoardCacheComponent.cs │ │ ├── GameBoardCacheComponent.cs.meta │ │ ├── GameBoardCacheSystem.cs │ │ ├── GameBoardCacheSystem.cs.meta │ │ ├── GameBoardComponent.cs │ │ ├── GameBoardComponent.cs.meta │ │ ├── GameBoardElementComponent.cs │ │ ├── GameBoardElementComponent.cs.meta │ │ ├── GridPositionsComponent.cs │ │ └── GridPositionsComponent.cs.meta │ ├── GameOver.meta │ ├── GameOver │ │ ├── GameOverComponent.cs │ │ ├── GameOverComponent.cs.meta │ │ ├── GameOverSystem.cs │ │ └── GameOverSystem.cs.meta │ ├── Input.meta │ ├── Input │ │ ├── ControllableComponent.cs │ │ ├── ControllableComponent.cs.meta │ │ ├── InputSystem.cs │ │ ├── InputSystem.cs.meta │ │ ├── MoveInputComponent.cs │ │ └── MoveInputComponent.cs.meta │ ├── Render.meta │ ├── Render │ │ ├── AddViewSystem.cs │ │ ├── AddViewSystem.cs.meta │ │ ├── NestedViewComponent.cs │ │ ├── NestedViewComponent.cs.meta │ │ ├── NestedViewContainerComponent.cs │ │ ├── NestedViewContainerComponent.cs.meta │ │ ├── RemoveViewSystem.cs │ │ ├── RemoveViewSystem.cs.meta │ │ ├── RenderPositionSystem.cs │ │ ├── RenderPositionSystem.cs.meta │ │ ├── ResourceComponent.cs │ │ ├── ResourceComponent.cs.meta │ │ ├── ViewComponent.cs │ │ ├── ViewComponent.cs.meta │ │ ├── ViewContainerComponent.cs │ │ └── ViewContainerComponent.cs.meta │ ├── SmoothMove.meta │ ├── SmoothMove │ │ ├── SmoothMoveComponent.cs │ │ ├── SmoothMoveComponent.cs.meta │ │ ├── SmoothMoveInProgressComponent.cs │ │ ├── SmoothMoveInProgressComponent.cs.meta │ │ ├── SmoothMoveSystem.cs │ │ └── SmoothMoveSystem.cs.meta │ ├── Systems.meta │ ├── Systems │ │ ├── GameStartSystem.cs │ │ └── GameStartSystem.cs.meta │ ├── Turn.meta │ └── Turn │ │ ├── ActiveTurnBasedComponent.cs │ │ ├── ActiveTurnBasedComponent.cs.meta │ │ ├── CurrentTurnNodeComponent.cs │ │ ├── CurrentTurnNodeComponent.cs.meta │ │ ├── NextTurnComponent.cs │ │ ├── NextTurnComponent.cs.meta │ │ ├── SkipTurnComponent.cs │ │ ├── SkipTurnComponent.cs.meta │ │ ├── TurnBasedComponent.cs │ │ ├── TurnBasedComponent.cs.meta │ │ ├── TurnOrderComponent.cs │ │ ├── TurnOrderComponent.cs.meta │ │ ├── TurnSystem.cs │ │ └── TurnSystem.cs.meta │ ├── Generated.meta │ └── Generated │ ├── Contexts.cs │ ├── Contexts.cs.meta │ ├── Feature.cs │ ├── Feature.cs.meta │ ├── Pool.meta │ └── Pool │ ├── Components.meta │ ├── Components │ ├── PoolAIMoveComponent.cs │ ├── PoolAIMoveComponent.cs.meta │ ├── PoolAIMoveTargetComponent.cs │ ├── PoolAIMoveTargetComponent.cs.meta │ ├── PoolActiveTurnBasedComponent.cs │ ├── PoolActiveTurnBasedComponent.cs.meta │ ├── PoolAnimationComponent.cs │ ├── PoolAnimationComponent.cs.meta │ ├── PoolAudioAttackSourceComponent.cs │ ├── PoolAudioAttackSourceComponent.cs.meta │ ├── PoolAudioComponent.cs │ ├── PoolAudioComponent.cs.meta │ ├── PoolAudioDeathSourceComponent.cs │ ├── PoolAudioDeathSourceComponent.cs.meta │ ├── PoolAudioPickupSourceComponent.cs │ ├── PoolAudioPickupSourceComponent.cs.meta │ ├── PoolAudioWalkSourceComponent.cs │ ├── PoolAudioWalkSourceComponent.cs.meta │ ├── PoolConfigComponent.cs │ ├── PoolConfigComponent.cs.meta │ ├── PoolControllableComponent.cs │ ├── PoolControllableComponent.cs.meta │ ├── PoolCoroutineComponent.cs │ ├── PoolCoroutineComponent.cs.meta │ ├── PoolCurrentTurnNodeComponent.cs │ ├── PoolCurrentTurnNodeComponent.cs.meta │ ├── PoolDamageSpriteComponent.cs │ ├── PoolDamageSpriteComponent.cs.meta │ ├── PoolDeleteOnExitComponent.cs │ ├── PoolDeleteOnExitComponent.cs.meta │ ├── PoolDestructibleComponent.cs │ ├── PoolDestructibleComponent.cs.meta │ ├── PoolExitComponent.cs │ ├── PoolExitComponent.cs.meta │ ├── PoolFoodBagComponent.cs │ ├── PoolFoodBagComponent.cs.meta │ ├── PoolFoodComponent.cs │ ├── PoolFoodComponent.cs.meta │ ├── PoolFoodDamagerComponent.cs │ ├── PoolFoodDamagerComponent.cs.meta │ ├── PoolGameBoardCacheComponent.cs │ ├── PoolGameBoardCacheComponent.cs.meta │ ├── PoolGameBoardComponent.cs │ ├── PoolGameBoardComponent.cs.meta │ ├── PoolGameBoardElementComponent.cs │ ├── PoolGameBoardElementComponent.cs.meta │ ├── PoolGameOverComponent.cs │ ├── PoolGameOverComponent.cs.meta │ ├── PoolGridPositionsComponent.cs │ ├── PoolGridPositionsComponent.cs.meta │ ├── PoolLevelComponent.cs │ ├── PoolLevelComponent.cs.meta │ ├── PoolLevelTransitionDelayComponent.cs │ ├── PoolLevelTransitionDelayComponent.cs.meta │ ├── PoolMoveInputComponent.cs │ ├── PoolMoveInputComponent.cs.meta │ ├── PoolNestedViewComponent.cs │ ├── PoolNestedViewComponent.cs.meta │ ├── PoolNestedViewContainerComponent.cs │ ├── PoolNestedViewContainerComponent.cs.meta │ ├── PoolNextTurnComponent.cs │ ├── PoolNextTurnComponent.cs.meta │ ├── PoolPositionComponent.cs │ ├── PoolPositionComponent.cs.meta │ ├── PoolResourceComponent.cs │ ├── PoolResourceComponent.cs.meta │ ├── PoolSkipTurnComponent.cs │ ├── PoolSkipTurnComponent.cs.meta │ ├── PoolSmoothMoveComponent.cs │ ├── PoolSmoothMoveComponent.cs.meta │ ├── PoolSmoothMoveInProgressComponent.cs │ ├── PoolSmoothMoveInProgressComponent.cs.meta │ ├── PoolSpriteCacheComponent.cs │ ├── PoolSpriteCacheComponent.cs.meta │ ├── PoolTurnBasedComponent.cs │ ├── PoolTurnBasedComponent.cs.meta │ ├── PoolTurnOrderComponent.cs │ ├── PoolTurnOrderComponent.cs.meta │ ├── PoolViewComponent.cs │ ├── PoolViewComponent.cs.meta │ ├── PoolViewContainerComponent.cs │ └── PoolViewContainerComponent.cs.meta │ ├── PoolAttribute.cs │ ├── PoolAttribute.cs.meta │ ├── PoolComponentsLookup.cs │ ├── PoolComponentsLookup.cs.meta │ ├── PoolContext.cs │ ├── PoolContext.cs.meta │ ├── PoolEntity.cs │ ├── PoolEntity.cs.meta │ ├── PoolMatcher.cs │ └── PoolMatcher.cs.meta ├── Entitas.properties ├── LICENSE ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NavMeshLayers.asset ├── NavMeshLayers.asset.meta ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset ├── README.md ├── ecs-talk-thumb.png └── screenshot.gif /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | 5 | # Autogenerated VS/MD solution and project files 6 | /*.csproj 7 | /*.unityproj 8 | /*.sln 9 | /*.suo 10 | /*.user 11 | /*.userprefs 12 | /*.pidb 13 | /*.booproj 14 | 15 | # Builds 16 | Builds/* 17 | 18 | # Unity3D Generated File On Crash Reports 19 | sysinfo.txt 20 | 21 | # Visual Studio Tools (ignore these to avoid issues on Mac) 22 | Assets/UnityVS.meta 23 | Assets/UnityVS/ 24 | 25 | # Mac 26 | .DS_Store 27 | 28 | # Vim 29 | *.swp 30 | 31 | # Local plugins 32 | Assets/Local/ 33 | Assets/Local.meta 34 | 35 | # Entitas specific 36 | MigrationAssistant.exe* 37 | Assets/Libraries/Entitas-Unity/CodeGenerator* 38 | Assets/Libraries/Entitas-Unity/Documentation* 39 | 40 | -------------------------------------------------------------------------------- /Assets/Data.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83a8ebbc4db8d4373a96cac01ab0e56d 3 | folderAsset: yes 4 | timeCreated: 1473474338 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Data/Animation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 429dd70778e324b75962fe09c62b370c 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15fb2cf97b75046a79f612f0fdc90668 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/Enemy1Attack.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Enemy1Attack 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_EulerCurves: [] 16 | m_PositionCurves: [] 17 | m_ScaleCurves: [] 18 | m_FloatCurves: [] 19 | m_PPtrCurves: 20 | - curve: 21 | - time: 0 22 | value: {fileID: 21300084, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 23 | - time: 0.083333336 24 | value: {fileID: 21300086, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 25 | attribute: m_Sprite 26 | path: 27 | classID: 212 28 | script: {fileID: 0} 29 | m_SampleRate: 12 30 | m_WrapMode: 0 31 | m_Bounds: 32 | m_Center: {x: 0, y: 0, z: 0} 33 | m_Extent: {x: 0, y: 0, z: 0} 34 | m_ClipBindingConstant: 35 | genericBindings: 36 | - serializedVersion: 2 37 | path: 0 38 | attribute: 0 39 | script: {fileID: 0} 40 | typeID: 212 41 | customType: 23 42 | isPPtrCurve: 1 43 | pptrCurveMapping: 44 | - {fileID: 21300084, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 45 | - {fileID: 21300086, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 46 | m_AnimationClipSettings: 47 | serializedVersion: 2 48 | m_AdditiveReferencePoseClip: {fileID: 0} 49 | m_AdditiveReferencePoseTime: 0 50 | m_StartTime: 0 51 | m_StopTime: 0.16666667 52 | m_OrientationOffsetY: 0 53 | m_Level: 0 54 | m_CycleOffset: 0 55 | m_HasAdditiveReferencePose: 0 56 | m_LoopTime: 1 57 | m_LoopBlend: 0 58 | m_LoopBlendOrientation: 0 59 | m_LoopBlendPositionY: 0 60 | m_LoopBlendPositionXZ: 0 61 | m_KeepOriginalOrientation: 0 62 | m_KeepOriginalPositionY: 1 63 | m_KeepOriginalPositionXZ: 0 64 | m_HeightFromFeet: 0 65 | m_Mirror: 0 66 | m_EditorCurves: [] 67 | m_EulerEditorCurves: [] 68 | m_HasGenericRootTransform: 0 69 | m_HasMotionFloatCurves: 0 70 | m_GenerateMotionCurves: 0 71 | m_Events: [] 72 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/Enemy1Attack.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d27b42c7b05ae47b8a5357d81d590f01 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/Enemy1Idle.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5afd3037c1370446fb0a18a403eb806e 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/Enemy2Attack.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cfbd97c78ee5a48bfb9c77d2557b4a03 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/Enemy2Idle.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5eae0f1926a14fa5ad34bd8f671afb1 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/PlayerChop.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: PlayerChop 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_EulerCurves: [] 16 | m_PositionCurves: [] 17 | m_ScaleCurves: [] 18 | m_FloatCurves: [] 19 | m_PPtrCurves: 20 | - curve: 21 | - time: 0 22 | value: {fileID: 21300080, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 23 | - time: 0.083333336 24 | value: {fileID: 21300082, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 25 | attribute: m_Sprite 26 | path: 27 | classID: 212 28 | script: {fileID: 0} 29 | m_SampleRate: 12 30 | m_WrapMode: 0 31 | m_Bounds: 32 | m_Center: {x: 0, y: 0, z: 0} 33 | m_Extent: {x: 0, y: 0, z: 0} 34 | m_ClipBindingConstant: 35 | genericBindings: 36 | - serializedVersion: 2 37 | path: 0 38 | attribute: 0 39 | script: {fileID: 0} 40 | typeID: 212 41 | customType: 23 42 | isPPtrCurve: 1 43 | pptrCurveMapping: 44 | - {fileID: 21300080, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 45 | - {fileID: 21300082, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 46 | m_AnimationClipSettings: 47 | serializedVersion: 2 48 | m_AdditiveReferencePoseClip: {fileID: 0} 49 | m_AdditiveReferencePoseTime: 0 50 | m_StartTime: 0 51 | m_StopTime: 0.16666667 52 | m_OrientationOffsetY: 0 53 | m_Level: 0 54 | m_CycleOffset: 0 55 | m_HasAdditiveReferencePose: 0 56 | m_LoopTime: 1 57 | m_LoopBlend: 0 58 | m_LoopBlendOrientation: 0 59 | m_LoopBlendPositionY: 0 60 | m_LoopBlendPositionXZ: 0 61 | m_KeepOriginalOrientation: 0 62 | m_KeepOriginalPositionY: 1 63 | m_KeepOriginalPositionXZ: 0 64 | m_HeightFromFeet: 0 65 | m_Mirror: 0 66 | m_EditorCurves: [] 67 | m_EulerEditorCurves: [] 68 | m_HasGenericRootTransform: 0 69 | m_HasMotionFloatCurves: 0 70 | m_GenerateMotionCurves: 0 71 | m_Events: [] 72 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/PlayerChop.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1e7ecc239aec4292a421108d3884268 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/PlayerHit.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: PlayerHit 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_EulerCurves: [] 16 | m_PositionCurves: [] 17 | m_ScaleCurves: [] 18 | m_FloatCurves: [] 19 | m_PPtrCurves: 20 | - curve: 21 | - time: 0 22 | value: {fileID: 21300092, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 23 | - time: 0.083333336 24 | value: {fileID: 21300094, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 25 | attribute: m_Sprite 26 | path: 27 | classID: 212 28 | script: {fileID: 0} 29 | m_SampleRate: 12 30 | m_WrapMode: 0 31 | m_Bounds: 32 | m_Center: {x: 0, y: 0, z: 0} 33 | m_Extent: {x: 0, y: 0, z: 0} 34 | m_ClipBindingConstant: 35 | genericBindings: 36 | - serializedVersion: 2 37 | path: 0 38 | attribute: 0 39 | script: {fileID: 0} 40 | typeID: 212 41 | customType: 23 42 | isPPtrCurve: 1 43 | pptrCurveMapping: 44 | - {fileID: 21300092, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 45 | - {fileID: 21300094, guid: fbe1e7b94bb1a4a099d5bcb15a00141c, type: 3} 46 | m_AnimationClipSettings: 47 | serializedVersion: 2 48 | m_AdditiveReferencePoseClip: {fileID: 0} 49 | m_AdditiveReferencePoseTime: 0 50 | m_StartTime: 0 51 | m_StopTime: 0.16666667 52 | m_OrientationOffsetY: 0 53 | m_Level: 0 54 | m_CycleOffset: 0 55 | m_HasAdditiveReferencePose: 0 56 | m_LoopTime: 1 57 | m_LoopBlend: 0 58 | m_LoopBlendOrientation: 0 59 | m_LoopBlendPositionY: 0 60 | m_LoopBlendPositionXZ: 0 61 | m_KeepOriginalOrientation: 0 62 | m_KeepOriginalPositionY: 1 63 | m_KeepOriginalPositionXZ: 0 64 | m_HeightFromFeet: 0 65 | m_Mirror: 0 66 | m_EditorCurves: [] 67 | m_EulerEditorCurves: [] 68 | m_HasGenericRootTransform: 0 69 | m_HasMotionFloatCurves: 0 70 | m_GenerateMotionCurves: 0 71 | m_Events: [] 72 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/PlayerHit.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb6a8b9e76955449ea0a724eb706705d 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/Animations/PlayerIdle.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ae8e07f178274cb0bc69285d1aa5ef1 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/AnimatorControllers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb7d70cee2d3d443aa2defa754e4f558 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Data/Animation/AnimatorControllers/Enemy1.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2980f4165a534b529ce669cbe3e8246 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/AnimatorControllers/Enemy2.overrideController: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!221 &22100000 4 | AnimatorOverrideController: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Enemy2 9 | m_Controller: {fileID: 9100000, guid: d2980f4165a534b529ce669cbe3e8246, type: 2} 10 | m_Clips: 11 | - m_OriginalClip: {fileID: 7400000, guid: 5afd3037c1370446fb0a18a403eb806e, type: 2} 12 | m_OverrideClip: {fileID: 7400000, guid: d5eae0f1926a14fa5ad34bd8f671afb1, type: 2} 13 | - m_OriginalClip: {fileID: 7400000, guid: d27b42c7b05ae47b8a5357d81d590f01, type: 2} 14 | m_OverrideClip: {fileID: 7400000, guid: cfbd97c78ee5a48bfb9c77d2557b4a03, type: 2} 15 | -------------------------------------------------------------------------------- /Assets/Data/Animation/AnimatorControllers/Enemy2.overrideController.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48a3eefec5b8d447a8b8ce0e78f6813c 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Animation/AnimatorControllers/Player.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed88edb0ae145440684f0bf998629c0c 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Controllers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d9820b0028624319bacd694ac60ce3c 3 | folderAsset: yes 4 | timeCreated: 1473474024 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Data/Controllers/AudioController.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 874f2c9e8206997488ca60efe9f1d246 3 | timeCreated: 1441831199 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Data/Controllers/GameController.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &130110 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 5 9 | m_Component: 10 | - component: {fileID: 408316} 11 | - component: {fileID: 11436308} 12 | m_Layer: 0 13 | m_Name: GameController 14 | m_TagString: Untagged 15 | m_Icon: {fileID: 0} 16 | m_NavMeshLayer: 0 17 | m_StaticEditorFlags: 0 18 | m_IsActive: 1 19 | --- !u!4 &408316 20 | Transform: 21 | m_ObjectHideFlags: 1 22 | m_PrefabParentObject: {fileID: 0} 23 | m_PrefabInternal: {fileID: 100100000} 24 | m_GameObject: {fileID: 130110} 25 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 26 | m_LocalPosition: {x: 0, y: 0, z: 0} 27 | m_LocalScale: {x: 1, y: 1, z: 1} 28 | m_Children: [] 29 | m_Father: {fileID: 0} 30 | m_RootOrder: 0 31 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 32 | --- !u!114 &11436308 33 | MonoBehaviour: 34 | m_ObjectHideFlags: 1 35 | m_PrefabParentObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | m_GameObject: {fileID: 130110} 38 | m_Enabled: 1 39 | m_EditorHideFlags: 0 40 | m_Script: {fileID: 11500000, guid: 2052ee72efaf00a4e9bb266f6cd0086d, type: 3} 41 | m_Name: 42 | m_EditorClassIdentifier: 43 | useSeed: 0 44 | randomSeed: 42 45 | --- !u!1001 &100100000 46 | Prefab: 47 | m_ObjectHideFlags: 1 48 | serializedVersion: 2 49 | m_Modification: 50 | m_TransformParent: {fileID: 0} 51 | m_Modifications: [] 52 | m_RemovedComponents: [] 53 | m_ParentPrefab: {fileID: 0} 54 | m_RootGameObject: {fileID: 130110} 55 | m_IsPrefabParent: 1 56 | -------------------------------------------------------------------------------- /Assets/Data/Controllers/GameController.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0759f3bd77c630418cc13b7671b9414 3 | timeCreated: 1441831206 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Data/Controllers/InputController.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &185398 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 5 9 | m_Component: 10 | - component: {fileID: 416656} 11 | - component: {fileID: 11429176} 12 | m_Layer: 0 13 | m_Name: InputController 14 | m_TagString: Untagged 15 | m_Icon: {fileID: 0} 16 | m_NavMeshLayer: 0 17 | m_StaticEditorFlags: 0 18 | m_IsActive: 1 19 | --- !u!4 &416656 20 | Transform: 21 | m_ObjectHideFlags: 1 22 | m_PrefabParentObject: {fileID: 0} 23 | m_PrefabInternal: {fileID: 100100000} 24 | m_GameObject: {fileID: 185398} 25 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 26 | m_LocalPosition: {x: 0, y: 0, z: 0} 27 | m_LocalScale: {x: 1, y: 1, z: 1} 28 | m_Children: [] 29 | m_Father: {fileID: 0} 30 | m_RootOrder: 0 31 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 32 | --- !u!114 &11429176 33 | MonoBehaviour: 34 | m_ObjectHideFlags: 1 35 | m_PrefabParentObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | m_GameObject: {fileID: 185398} 38 | m_Enabled: 1 39 | m_EditorHideFlags: 0 40 | m_Script: {fileID: 11500000, guid: 60b67e7e04d13d747802a8972a7da43a, type: 3} 41 | m_Name: 42 | m_EditorClassIdentifier: 43 | --- !u!1001 &100100000 44 | Prefab: 45 | m_ObjectHideFlags: 1 46 | serializedVersion: 2 47 | m_Modification: 48 | m_TransformParent: {fileID: 0} 49 | m_Modifications: [] 50 | m_RemovedComponents: [] 51 | m_ParentPrefab: {fileID: 0} 52 | m_RootGameObject: {fileID: 185398} 53 | m_IsPrefabParent: 1 54 | -------------------------------------------------------------------------------- /Assets/Data/Controllers/InputController.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f3378ac739874c448511f2424e0a335 3 | timeCreated: 1441831210 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Data/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df1b9d01e0cb044deb4dcafafef40003 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Data/Fonts/OFL.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5014456921e71459d869c8378fed6ca3 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Data/Fonts/PressStart2P-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Data/Fonts/PressStart2P-Regular.ttf -------------------------------------------------------------------------------- /Assets/Data/Fonts/PressStart2P-Regular.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b284a6525342f44599e9ce79e37c2d61 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | assetBundleName: 16 | assetBundleVariant: 17 | -------------------------------------------------------------------------------- /Assets/Data/Music.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4bca809a9306436baafa9f745ad6090 3 | folderAsset: yes 4 | timeCreated: 1473474154 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Data/Music/scavengers_music.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Data/Music/scavengers_music.aif -------------------------------------------------------------------------------- /Assets/Data/Music/scavengers_music.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d75080d0851d4613ada1117d91ee417 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Libraries.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6cdf2904bba3454c887ca634022662c 3 | folderAsset: yes 4 | timeCreated: 1441123301 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00559ee8d19c149f0ae374f386a98b38 3 | folderAsset: yes 4 | timeCreated: 1472950359 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d965e5bc4462e4c6d8903828be4757ff 3 | folderAsset: yes 4 | timeCreated: 1497207265 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Compile.cs: -------------------------------------------------------------------------------- 1 | namespace Entitas.CodeGeneration.Unity.Editor { 2 | 3 | class Compile {} 4 | } 5 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Compile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fefa85973d4ad417986147a756fd55ae 3 | timeCreated: 1497210120 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32170653ef61a4d6fba495c44cdd4256 3 | folderAsset: yes 4 | timeCreated: 1497207265 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.CodeGenerator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.CodeGenerator.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.CodeGenerator.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 240571d4e79ba4ca68b02d7672b2ab45 3 | timeCreated: 1497210107 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.Plugins.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.Plugins.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.Plugins.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acd633df54c4747849ced670ea28cff4 3 | timeCreated: 1497210113 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 224aa09924c804e3a8cced39a21695b4 3 | timeCreated: 1497210106 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.CodeGeneration.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70cf6c8276b9c4358acfe114a1a4e593 3 | timeCreated: 1497210111 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Migration.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Migration.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Migration.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49736a2909ec3491a8c0c39c890e3efc 3 | timeCreated: 1497210109 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Migration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Migration.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Migration.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28e03573e752447b1a83c49f548243b0 3 | timeCreated: 1497210107 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b307a61fb4e5849e2971923e39ef3402 3 | timeCreated: 1497210115 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.VisualDebugging.CodeGeneration.Plugins.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.VisualDebugging.CodeGeneration.Plugins.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.VisualDebugging.CodeGeneration.Plugins.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0c71c5a9489d4b9bb3033ee90b1e592 3 | timeCreated: 1497210114 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.VisualDebugging.Unity.Editor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.VisualDebugging.Unity.Editor.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Entitas.VisualDebugging.Unity.Editor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1f3e531742df4a1f8239de759034589 3 | timeCreated: 1497210113 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e816aba326b4243ee9455ba723f7df3a 3 | folderAsset: yes 4 | timeCreated: 1497207265 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasContextErrorHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasContextErrorHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasContextHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasContextHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasEntityErrorHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasEntityErrorHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasEntityErrorHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06bc0e5b0b5124fca8f5d7dde1d012b0 3 | labels: 4 | - EntitasEntityErrorHierarchyIcon 5 | timeCreated: 1461325930 6 | licenseType: Pro 7 | TextureImporter: 8 | fileIDToRecycleName: {} 9 | serializedVersion: 4 10 | mipmaps: 11 | mipMapMode: 0 12 | enableMipMap: 0 13 | sRGBTexture: 0 14 | linearTexture: 0 15 | fadeOut: 0 16 | borderMipMap: 0 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | compressionQuality: 50 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaUsage: 1 47 | alphaIsTransparency: 1 48 | spriteTessellationDetail: -1 49 | textureType: 0 50 | textureShape: 1 51 | maxTextureSizeSet: 0 52 | compressionQualitySet: 0 53 | textureFormatSet: 0 54 | platformSettings: 55 | - buildTarget: DefaultTexturePlatform 56 | maxTextureSize: 256 57 | textureFormat: -1 58 | textureCompression: 0 59 | compressionQuality: 50 60 | crunchedCompression: 0 61 | allowsAlphaSplitting: 0 62 | overridden: 0 63 | - buildTarget: Standalone 64 | maxTextureSize: 256 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | spriteSheet: 72 | serializedVersion: 2 73 | sprites: [] 74 | outline: [] 75 | spritePackingTag: 76 | userData: 77 | assetBundleName: 78 | assetBundleVariant: 79 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasEntityHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasEntityHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasEntityHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27b806265ee874b86aa2d28aba93ace2 3 | labels: 4 | - EntitasEntityHierarchyIcon 5 | timeCreated: 1457898659 6 | licenseType: Pro 7 | TextureImporter: 8 | fileIDToRecycleName: {} 9 | serializedVersion: 4 10 | mipmaps: 11 | mipMapMode: 0 12 | enableMipMap: 0 13 | sRGBTexture: 0 14 | linearTexture: 0 15 | fadeOut: 0 16 | borderMipMap: 0 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | compressionQuality: 50 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaUsage: 1 47 | alphaIsTransparency: 1 48 | spriteTessellationDetail: -1 49 | textureType: 0 50 | textureShape: 1 51 | maxTextureSizeSet: 0 52 | compressionQualitySet: 0 53 | textureFormatSet: 0 54 | platformSettings: 55 | - buildTarget: DefaultTexturePlatform 56 | maxTextureSize: 256 57 | textureFormat: -1 58 | textureCompression: 0 59 | compressionQuality: 50 60 | crunchedCompression: 0 61 | allowsAlphaSplitting: 0 62 | overridden: 0 63 | - buildTarget: Standalone 64 | maxTextureSize: 256 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | spriteSheet: 72 | serializedVersion: 2 73 | sprites: [] 74 | outline: [] 75 | spritePackingTag: 76 | userData: 77 | assetBundleName: 78 | assetBundleVariant: 79 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasHeader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasHeader.png -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasHeader.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65fb57b88da1f40c59682763366ab260 3 | labels: 4 | - EntitasHeader 5 | timeCreated: 1488042330 6 | licenseType: Pro 7 | TextureImporter: 8 | fileIDToRecycleName: {} 9 | serializedVersion: 4 10 | mipmaps: 11 | mipMapMode: 0 12 | enableMipMap: 0 13 | sRGBTexture: 0 14 | linearTexture: 0 15 | fadeOut: 0 16 | borderMipMap: 0 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 2 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | compressionQuality: 50 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaUsage: 1 47 | alphaIsTransparency: 0 48 | spriteTessellationDetail: -1 49 | textureType: 0 50 | textureShape: 1 51 | maxTextureSizeSet: 0 52 | compressionQualitySet: 0 53 | textureFormatSet: 0 54 | platformSettings: 55 | - buildTarget: DefaultTexturePlatform 56 | maxTextureSize: 2048 57 | textureFormat: -1 58 | textureCompression: 0 59 | compressionQuality: 50 60 | crunchedCompression: 0 61 | allowsAlphaSplitting: 0 62 | overridden: 0 63 | - buildTarget: Standalone 64 | maxTextureSize: 2048 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | spriteSheet: 72 | serializedVersion: 2 73 | sprites: [] 74 | outline: [] 75 | spritePackingTag: 76 | userData: 77 | assetBundleName: 78 | assetBundleVariant: 79 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasSystemsErrorHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasSystemsErrorHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasSystemsErrorHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fecc08fe51ec4ba990bfd58e4ed14b5 3 | labels: 4 | - EntitasSystemsErrorHierarchyIcon 5 | timeCreated: 1489846920 6 | licenseType: Pro 7 | TextureImporter: 8 | fileIDToRecycleName: {} 9 | serializedVersion: 4 10 | mipmaps: 11 | mipMapMode: 0 12 | enableMipMap: 0 13 | sRGBTexture: 0 14 | linearTexture: 0 15 | fadeOut: 0 16 | borderMipMap: 0 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: 1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | compressionQuality: 50 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaUsage: 1 47 | alphaIsTransparency: 1 48 | spriteTessellationDetail: -1 49 | textureType: 0 50 | textureShape: 1 51 | maxTextureSizeSet: 0 52 | compressionQualitySet: 0 53 | textureFormatSet: 0 54 | platformSettings: 55 | - buildTarget: DefaultTexturePlatform 56 | maxTextureSize: 256 57 | textureFormat: -1 58 | textureCompression: 0 59 | compressionQuality: 50 60 | crunchedCompression: 0 61 | allowsAlphaSplitting: 0 62 | overridden: 0 63 | - buildTarget: Standalone 64 | maxTextureSize: 256 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | spriteSheet: 72 | serializedVersion: 2 73 | sprites: [] 74 | outline: [] 75 | spritePackingTag: 76 | userData: 77 | assetBundleName: 78 | assetBundleVariant: 79 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasSystemsHierarchyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasSystemsHierarchyIcon.png -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Editor/Images/EntitasSystemsHierarchyIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ee737a83aa9b4b56b2058b2b651ff0a 3 | labels: 4 | - EntitasSystemsHierarchyIcon 5 | timeCreated: 1489847588 6 | licenseType: Pro 7 | TextureImporter: 8 | fileIDToRecycleName: {} 9 | serializedVersion: 4 10 | mipmaps: 11 | mipMapMode: 0 12 | enableMipMap: 0 13 | sRGBTexture: 0 14 | linearTexture: 0 15 | fadeOut: 0 16 | borderMipMap: 0 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | compressionQuality: 50 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaUsage: 1 47 | alphaIsTransparency: 1 48 | spriteTessellationDetail: -1 49 | textureType: 0 50 | textureShape: 1 51 | maxTextureSizeSet: 0 52 | compressionQualitySet: 0 53 | textureFormatSet: 0 54 | platformSettings: 55 | - buildTarget: DefaultTexturePlatform 56 | maxTextureSize: 256 57 | textureFormat: -1 58 | textureCompression: 0 59 | compressionQuality: 50 60 | crunchedCompression: 0 61 | allowsAlphaSplitting: 0 62 | overridden: 0 63 | - buildTarget: Standalone 64 | maxTextureSize: 256 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | spriteSheet: 72 | serializedVersion: 2 73 | sprites: [] 74 | outline: [] 75 | spritePackingTag: 76 | userData: 77 | assetBundleName: 78 | assetBundleVariant: 79 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.Blueprints.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Entitas.Blueprints.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.Blueprints.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 649c4d807c1404fcc9a9106ce218d49a 3 | timeCreated: 1497210110 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.CodeGeneration.Attributes.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Entitas.CodeGeneration.Attributes.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.CodeGeneration.Attributes.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68c306a30e98e464e9b560ca0b7b3b7f 3 | timeCreated: 1497210110 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.Unity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Entitas.Unity.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.Unity.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e92efb469c0441f9b1c2f508cf89bb4 3 | timeCreated: 1497210105 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.Utils.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Entitas.Utils.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.Utils.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55a4c91a58623494cbd88b56ddd83742 3 | timeCreated: 1497210109 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.VisualDebugging.Unity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Entitas.VisualDebugging.Unity.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.VisualDebugging.Unity.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e05fcdbc3d2784c7fb5742ecd951da6a 3 | timeCreated: 1497210116 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/Entitas.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/Entitas.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c65905828710d4ed4b425041938afc10 3 | timeCreated: 1497210115 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/fabl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Entitas/fabl.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Entitas/fabl.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0971dbcef5ecd4274842dfc8e1c989d7 3 | timeCreated: 1497210105 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/EntitasUpgradeGuide.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdb38df64e4d84b5b87789aee85daf79 3 | timeCreated: 1497210104 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2014 - 2016 Simon Schmid 4 | 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/LICENSE.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbdcfd211647645ac966a198e1981a42 3 | timeCreated: 1497210125 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Migration.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fb3ef7172997423bb36e813307d4713 3 | folderAsset: yes 4 | timeCreated: 1497207264 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Migration/Entitas.Migration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Migration/Entitas.Migration.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Migration/Entitas.Migration.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99a6836998ef344c6a6773e1e3af5e48 3 | timeCreated: 1497210112 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Migration/Entitas.Utils.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Libraries/Entitas-Unity/Migration/Entitas.Utils.dll -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/Migration/Entitas.Utils.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eade336b5e30b4163b2b706218ccefa9 3 | timeCreated: 1497210116 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea4b5e960bac644d18360f92e2c028e6 3 | timeCreated: 1497210104 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Libraries/Entitas-Unity/RELEASE_NOTES.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73c88bcbe76ed4de186cc7fb1dbd63ae 3 | timeCreated: 1497210104 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b85e995cb69c5de4c930cf42e6f1fa4c 3 | folderAsset: yes 4 | timeCreated: 1441122765 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Audio.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f64576655430c42429121b3f409ae46e 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_chop1.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_chop1.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_chop1.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c2332bc8245b474dad63074059bb755 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_chop2.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_chop2.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_chop2.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6aaac83be9e0493493aace800b76619 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_die.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_die.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_die.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2beefeb2273f4efe992adf5b8d67c29 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_enemy1.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_enemy1.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_enemy1.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0db8cac2749584a009540aa5671ee80d 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_enemy2.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_enemy2.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_enemy2.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 114514a3b3697484ebaa08f7fbf842d3 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_footstep1.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_footstep1.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_footstep1.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 892962212a4b74d1c9f578a3b6ea6439 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_footstep2.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_footstep2.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_footstep2.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a826bc3d758db43d6ae9caf415b63d1d 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_fruit1.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_fruit1.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_fruit1.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1cb61f83d60374c7389bb547431919e3 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_fruit2.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_fruit2.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_fruit2.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 062161c1897a54088a5430f8c197e1b8 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_soda1.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_soda1.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_soda1.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6b608537288246c9a464915db27bf52 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_soda2.aif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Audio/scavengers_soda2.aif -------------------------------------------------------------------------------- /Assets/Resources/Audio/scavengers_soda2.aif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bcb9dda73ee914d3e8f252895f73f461 3 | AudioImporter: 4 | serializedVersion: 6 5 | defaultSettings: 6 | loadType: 1 7 | sampleRateSetting: 0 8 | sampleRateOverride: 0 9 | compressionFormat: 0 10 | quality: .5 11 | conversionMode: 0 12 | platformSettingOverrides: {} 13 | forceToMono: 0 14 | normalize: 1 15 | preloadAudioData: 1 16 | loadInBackground: 0 17 | 3D: 0 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 626dd7fd9b5fb41d897b17ce7c874e42 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Enemy1.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebfba08a213d34c46ba2b1947aeaea83 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Enemy2.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 089a2f2c322ea40f9afdfaba0550c6d3 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Exit.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb0f3020bafec423aa31d0e491c4b811 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Floor1.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 038998774947c4a8fa170d5b4492a7dd 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Floor2.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41775b29042354678bcd58bb1a75871e 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Floor3.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74398dca0c1f64f34aab8ba7bdb6c527 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Floor4.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed4c829589732490894350b134530050 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Floor5.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04993e7a7b0514f0c8857ff106529ce1 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Floor6.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4cdf8ac85eff446d0a8fefbdc8c6569f 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Floor7.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5535fd6cd705e4a79a1d5a4f114de5dc 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Floor8.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c18e9692903814865aa9a855aaa66df5 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Food.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad25a4e752915438e9f55a35bedacf1f 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/OuterWall1.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7094f72151ec74f569c4e03f1ec0f8e7 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/OuterWall2.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0ace21a29149403094422fb3bd96aa9 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/OuterWall3.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e85c94355cc4641da919bd5d0ac956d4 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Player.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f42ed0da8e43c84c8c090f4f05ce0e1 3 | timeCreated: 1441221329 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Soda.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46e8bf4bf645a47e3ae1b60c7e18418c 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Wall1.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2570048905bd94d6f8a99d13b80daf90 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Wall2.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b86334000bc0f47ba8dd33ea88cfcdb1 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Wall3.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01ca47a83ebe24ca5a2f6b1d6dcd7481 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Wall4.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 022eda2f1f0cb45e28ff6840b68928bc 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Wall5.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1816487b15cd4c5fbd9587521e068ca 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Wall6.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ddc2d7828b2d462286f09274199ad9a 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Wall7.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64139c47b57e34c5fa97fd79f8d25244 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Prefabs/Wall8.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 741804431f4d341cdae1f15b3896aeff 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Resources/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7cb6f0cdb977404399bd449b6b218d1 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Sprites/Scavengers_SpriteSheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/Assets/Resources/Sprites/Scavengers_SpriteSheet.png -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d948ea9d6157453b913820b7497c017 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Main.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 329f4be6b831e43008ec1ddeaae85de9 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cfb131ec971cc406da96b76ae69dbc9d 3 | folderAsset: yes 4 | timeCreated: 1441121236 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/FoodTextController.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | 5 | public class FoodTextController : MonoBehaviour 6 | { 7 | Text label; 8 | int? food; 9 | 10 | void Start() 11 | { 12 | label = GetComponent(); 13 | 14 | var pool = Contexts.sharedInstance.pool; 15 | pool.GetGroup(PoolMatcher.FoodBag).OnEntityAdded += 16 | (group, entity, index, component) => UpdateFood(entity.foodBag.points); 17 | if (pool.hasFoodBag) 18 | { 19 | food = pool.foodBag.points; 20 | UpdateFood(food.Value); 21 | } 22 | } 23 | 24 | void UpdateFood(int newFood) 25 | { 26 | if (!food.HasValue) 27 | { 28 | food = newFood; 29 | } 30 | 31 | var diff = newFood - food.Value; 32 | var symbol = diff > 0 ? "+" : ""; 33 | var prefix = Mathf.Abs(diff) > 1 ? symbol + diff + " " : ""; 34 | label.text = prefix + "Food: " + newFood; 35 | food = newFood; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Assets/Scripts/FoodTextController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 671de6fb5df38bc4d91015392f86653d 3 | timeCreated: 1441312841 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/GameController.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.VisualDebugging.Unity; 3 | using UnityEngine; 4 | 5 | public class GameController : MonoBehaviour 6 | { 7 | public bool useSeed = false; 8 | public int randomSeed = 42; 9 | 10 | Systems systems; 11 | 12 | void Start() 13 | { 14 | if (useSeed) 15 | { 16 | Random.seed = randomSeed; 17 | } 18 | 19 | Debug.Log("Starting GameController using seed " + Random.seed); 20 | var contexts = Contexts.sharedInstance; 21 | systems = CreateSystems(contexts); 22 | systems.Initialize(); 23 | } 24 | 25 | void Update() 26 | { 27 | systems.Execute(); 28 | } 29 | 30 | static Systems CreateSystems(Contexts contexts) 31 | { 32 | Systems systems; 33 | 34 | #if (UNITY_EDITOR) 35 | systems = new DebugSystems("Editor"); 36 | #else 37 | systems = new Systems(); 38 | #endif 39 | 40 | systems 41 | .Add(new CoroutineSystem(contexts)) 42 | .Add(new GameStartSystem(contexts)) 43 | .Add(new GameOverSystem(contexts)) 44 | 45 | .Add(new GameBoardCacheSystem(contexts)) 46 | .Add(new CreateGameBoardSystem(contexts)) 47 | 48 | .Add(new TurnSystem(contexts)) 49 | .Add(new InputSystem(contexts)) 50 | .Add(new AIMoveSystem(contexts)) 51 | 52 | .Add(new ExitSystem(contexts)) 53 | .Add(new FoodSystem(contexts)) 54 | .Add(new DestructibleSystem(contexts)) 55 | 56 | // Render 57 | .Add(new AnimationSystem(contexts)) 58 | .Add(new DamageSpriteSystem(contexts)) 59 | .Add(new RemoveViewSystem(contexts)) 60 | .Add(new AddViewSystem(contexts)) 61 | .Add(new RenderPositionSystem(contexts)) 62 | .Add(new SmoothMoveSystem(contexts)); 63 | 64 | return systems; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Scripts/GameController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2052ee72efaf00a4e9bb266f6cd0086d 3 | timeCreated: 1496086524 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/InputController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60b67e7e04d13d747802a8972a7da43a 3 | timeCreated: 1441128766 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/LevelTextController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | public class LevelTextController : MonoBehaviour 5 | { 6 | // Delay time in seconds to display level text. 7 | public float displayDelay = 1f; 8 | // Time to wait before hiding level text, in seconds. 9 | public float hideDelay = 2f; 10 | public Text levelText; 11 | 12 | int currentLevel; 13 | Image levelImage; 14 | PoolContext pool; 15 | 16 | // Use awake to ensure that this fires before the systems boot 17 | // otherwise it misses the initial level set 18 | void Awake() 19 | { 20 | levelImage = GetComponent(); 21 | 22 | pool = Contexts.sharedInstance.pool; 23 | pool.GetGroup(PoolMatcher.Level).OnEntityAdded += (group, entity, index, component) => 24 | { 25 | currentLevel = pool.level.level; 26 | pool.isLevelTransitionDelay = true; 27 | Invoke("ShowLevelImage", displayDelay); 28 | }; 29 | pool.GetGroup(PoolMatcher.GameOver).OnEntityAdded += (group, entity, index, component) => 30 | { 31 | GameOver(); 32 | }; 33 | } 34 | 35 | void ShowLevelImage() 36 | { 37 | levelImage.enabled = true; 38 | levelText.text = "Day " + currentLevel; 39 | levelText.enabled = true; 40 | Invoke("HideLevelImage", hideDelay); 41 | } 42 | 43 | void HideLevelImage() 44 | { 45 | levelText.enabled = false; 46 | levelImage.enabled = false; 47 | pool.isLevelTransitionDelay = false; 48 | } 49 | 50 | void GameOver() 51 | { 52 | levelImage.enabled = true; 53 | levelText.text = "After " + currentLevel + " days, you starved."; 54 | levelText.enabled = true; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Assets/Scripts/LevelTextController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94c73ea1dcc51ef46b25d9fb894a76f0 3 | timeCreated: 1441744183 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/SoundController.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using IListExtensions; 3 | using UnityEngine; 4 | 5 | public class SoundController : MonoBehaviour 6 | { 7 | public AudioSource efxSource; 8 | public AudioSource musicSource; 9 | public float lowPitchRange = .95f; 10 | public float highPitchRange = 1.05f; 11 | 12 | PoolContext pool; 13 | 14 | void Start() 15 | { 16 | pool = Contexts.sharedInstance.pool; 17 | 18 | pool.GetGroup(PoolMatcher.Audio).OnEntityAdded += OnAudioAdded; 19 | pool.GetGroup(PoolMatcher.GameOver).OnEntityAdded += (group, entity, index, component) => StopMusic(); 20 | } 21 | 22 | void OnAudioAdded(IGroup group, PoolEntity entity, int index, 23 | IComponent component) 24 | { 25 | var audioComponent = (AudioComponent)component; 26 | var audioName = audioComponent.clipNames.Random(); 27 | var audioClip = Resources.Load("Audio/" + audioName); 28 | 29 | if (audioClip != null) 30 | { 31 | Play(audioClip, audioComponent.randomizePitch); 32 | } 33 | 34 | // only play once 35 | pool.DestroyEntity(entity); 36 | } 37 | 38 | void Play(AudioClip clip, bool randomize = false) 39 | { 40 | efxSource.clip = clip; 41 | 42 | if (!randomize) 43 | { 44 | efxSource.Play(); 45 | return; 46 | } 47 | 48 | var originalPitch = efxSource.pitch; 49 | efxSource.pitch = Random.Range(lowPitchRange, highPitchRange); 50 | efxSource.Play(); 51 | efxSource.pitch = originalPitch; 52 | return; 53 | } 54 | 55 | void StopMusic() 56 | { 57 | musicSource.Stop(); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Assets/Scripts/SoundController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 313298e4cb9a77b4aaa8b1038976d1af 3 | timeCreated: 1441392657 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae7fa7df33fcd2d49a4bbb7238c4fc04 3 | folderAsset: yes 4 | timeCreated: 1441123409 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/DefaultConfigConstants.cs: -------------------------------------------------------------------------------- 1 | public static class DefaultConfigConstants 2 | { 3 | public const int COLUMNS = 8; 4 | public const int ROWS = 8; 5 | public const int FOOD_COUNT_MIN = 1; 6 | public const int FOOD_COUNT_MAX = 5; 7 | public const int WALL_COUNT_MIN = 5; 8 | public const int WALL_COUNT_MAX = 9; 9 | public const int ENEMY_COUNT_MULTIPLIER = 1; 10 | public const int FOOD_POINTS = 10; 11 | public const int SODA_POINTS = 20; 12 | public const int ENEMY1_DMG = 10; 13 | public const int ENEMY2_DMG = 20; 14 | public const float TURN_DELAY = 0.1f; 15 | } 16 | -------------------------------------------------------------------------------- /Assets/Sources/DefaultConfigConstants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55b49961fea554a56aea785c91910117 3 | timeCreated: 1474650131 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Enums.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58e7653bde427a9439ff5648cb67ed8b 3 | folderAsset: yes 4 | timeCreated: 1441831819 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Animation.cs: -------------------------------------------------------------------------------- 1 | public enum Animation 2 | { 3 | enemyAttack, 4 | playerChop, 5 | playerHit, 6 | } 7 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Animation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9aae449e57bed8e4e9724e67b1048c7e 3 | timeCreated: 1441379328 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Audio.cs: -------------------------------------------------------------------------------- 1 | public enum Audio 2 | { 3 | scavengers_chop1, 4 | scavengers_chop2, 5 | scavengers_die, 6 | scavengers_enemy1, 7 | scavengers_enemy2, 8 | scavengers_footstep1, 9 | scavengers_footstep2, 10 | scavengers_fruit1, 11 | scavengers_fruit2, 12 | scavengers_soda1, 13 | scavengers_soda2, 14 | } 15 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Audio.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6728cd2fa92d5b4b86919c6fedb1ec4 3 | timeCreated: 1441392458 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Movement.cs: -------------------------------------------------------------------------------- 1 | public enum Movement 2 | { 3 | Up, 4 | Right, 5 | Down, 6 | Left 7 | } 8 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Movement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24968ebafdf49db479ed91571a1e777d 3 | timeCreated: 1441129429 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Prefab.cs: -------------------------------------------------------------------------------- 1 | public enum Prefab 2 | { 3 | // Pieces 4 | Enemy1, 5 | Enemy2, 6 | Exit, 7 | Food, 8 | Player, 9 | Soda, 10 | 11 | // Floor 12 | Floor1, 13 | Floor2, 14 | Floor3, 15 | Floor4, 16 | Floor5, 17 | Floor6, 18 | Floor7, 19 | Floor8, 20 | 21 | // Wall 22 | OuterWall1, 23 | OuterWall2, 24 | OuterWall3, 25 | Wall1, 26 | Wall2, 27 | Wall3, 28 | Wall4, 29 | Wall5, 30 | Wall6, 31 | Wall7, 32 | Wall8, 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Prefab.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79d894aa70c60b348b45c8c9e94da2b7 3 | timeCreated: 1441135649 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Sprite.cs: -------------------------------------------------------------------------------- 1 | public enum Sprite 2 | { 3 | Scavengers_SpriteSheet_48, 4 | Scavengers_SpriteSheet_49, 5 | Scavengers_SpriteSheet_50, 6 | Scavengers_SpriteSheet_51, 7 | Scavengers_SpriteSheet_52, 8 | Scavengers_SpriteSheet_53, 9 | Scavengers_SpriteSheet_54, 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Sources/Enums/Sprite.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ef77a56e4d58c744adc064ceaa37db5 3 | timeCreated: 1441315476 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1be5fbe996e5e7e4f9ecce0befcc0389 3 | folderAsset: yes 4 | timeCreated: 1441229168 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/ArrayExtensions.cs: -------------------------------------------------------------------------------- 1 | using ICollectionExtensions; 2 | using System.Collections.Generic; 3 | 4 | namespace ArrayExtensions 5 | { 6 | public static class ArrayExtensions 7 | { 8 | public static void Add(this ICollection[,] array, int index1, 9 | int index2, T value) 10 | { 11 | ICollection existingCollection = array[index1, index2]; 12 | if (existingCollection != null) 13 | { 14 | existingCollection.Add(value); 15 | return; 16 | } 17 | 18 | var set = new HashSet(); 19 | set.Add(value); 20 | array[index1, index2] = set; 21 | } 22 | 23 | public static bool Remove(this ICollection[,] array, int index1, 24 | int index2, T value) 25 | { 26 | var existingCollection = array[index1, index2]; 27 | if (existingCollection != null && !existingCollection.Empty()) 28 | { 29 | return existingCollection.Remove(value); 30 | } 31 | return false; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/ArrayExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 813fe3650fd4183498b7ab4b0d62c453 3 | timeCreated: 1441820364 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/ContextExtensions.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using ICollectionExtensions; 3 | using System.Collections.Generic; 4 | 5 | public static class ContextExtensions 6 | { 7 | public static void DestroyEntityIfEmpty(this PoolContext context, 8 | PoolEntity entity) 9 | { 10 | if (entity.GetComponentIndices().Length == 0) 11 | { 12 | context.DestroyEntity(entity); 13 | } 14 | } 15 | 16 | public static PoolEntity PlayAudio(this PoolContext context, 17 | BaseAudioComponent source) 18 | { 19 | var e = context.CreateEntity(); 20 | e.AddAudio(source.clips, source.randomizePitch); 21 | return e; 22 | } 23 | 24 | public static PoolEntity AddToFoodBag(this PoolContext context, 25 | int pointsToAdd) 26 | { 27 | int existingPoints = context.foodBag.points; 28 | context.ReplaceFoodBag(pointsToAdd + existingPoints); 29 | return context.foodBagEntity; 30 | } 31 | 32 | public static bool IsGameBoardPositionOpen(this PoolContext context, 33 | PositionComponent position, 34 | out ICollection entities) 35 | { 36 | return context.IsGameBoardPositionOpen(position.x, position.y, out entities); 37 | } 38 | 39 | public static bool IsGameBoardPositionOpen(this PoolContext context, int x, int y, 40 | out ICollection entities) 41 | { 42 | var gameBoard = context.gameBoard; 43 | bool edge = x == -1 || x == gameBoard.columns || y == -1 || y == gameBoard.rows; 44 | if (edge) 45 | { 46 | entities = null; 47 | return false; 48 | } 49 | entities = context.gameBoardCache.grid[x, y]; 50 | return entities == null || entities.Empty(); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/ContextExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e54d9016ceb34fd4a6ceefb8461297d 3 | timeCreated: 1496196816 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/EntityExtensions.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | public static class EntityExtensions 4 | { 5 | public static void AddAudioAttackSource(this PoolEntity entity, 6 | params Audio[] clips) 7 | { 8 | entity.AddAudioAttackSource(clips, clips.Length > 1); 9 | } 10 | 11 | public static void AddAudioDeathSource(this PoolEntity entity, 12 | params Audio[] clips) 13 | { 14 | entity.AddAudioDeathSource(clips, clips.Length > 1); 15 | } 16 | 17 | public static void AddAudioPickupSource(this PoolEntity entity, 18 | params Audio[] clips) 19 | { 20 | entity.AddAudioPickupSource(clips, clips.Length > 1); 21 | } 22 | 23 | public static void AddAudioWalkSource(this PoolEntity entity, 24 | params Audio[] clips) 25 | { 26 | entity.AddAudioWalkSource(clips, clips.Length > 1); 27 | } 28 | 29 | public static void AddDestructible(this PoolEntity entity, int hp) 30 | { 31 | entity.AddDestructible(hp, hp); 32 | } 33 | 34 | public static void DamageDestructible(this PoolEntity entity) 35 | { 36 | var current = entity.destructible; 37 | entity.ReplaceDestructible(current.hp - 1, current.startingHP); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/EntityExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7b4e7fa2af898040ab8faa3e9f585ea 3 | timeCreated: 1441229531 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/ICollectionExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace ICollectionExtensions 4 | { 5 | public static class ICollectionExtensions 6 | { 7 | public static bool Empty(this ICollection collection) 8 | { 9 | return collection.Count <= 0; 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/ICollectionExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4b177d25910de4478315e867525ccba 3 | timeCreated: 1441821371 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/ICollectionOfEntityExtensions.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections.Generic; 3 | 4 | namespace ICollectionOfEntityExtensions 5 | { 6 | public static class ICollectionOfEntityExtensions 7 | { 8 | public static bool ContainsComponent(this ICollection entities, 9 | int componentId, 10 | out PoolEntity entity) 11 | { 12 | foreach (var e in entities) 13 | { 14 | if (e.HasComponent(componentId)) 15 | { 16 | entity = e; 17 | return true; 18 | } 19 | } 20 | entity = null; 21 | return false; 22 | } 23 | 24 | public static bool ContainsComponent(this ICollection entities, 25 | int componentId) 26 | { 27 | PoolEntity unused = null; 28 | return entities.ContainsComponent(componentId, out unused); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/ICollectionOfEntityExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c937292d88ebe7742b9e13ae0aa2fa6a 3 | timeCreated: 1441823949 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/IListExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace IListExtensions 4 | { 5 | public static class IListExtensions 6 | { 7 | public static T Random(this IList list, int start=0) 8 | { 9 | return list[list.RandomIndex(start)]; 10 | } 11 | 12 | public static int RandomIndex(this IList list, int start=0) 13 | { 14 | return UnityEngine.Random.Range(start, list.Count); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/IListExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 235370b5e66e1be40b5ca7385df34c90 3 | timeCreated: 1441141202 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/LinkedListExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace LinkedListExtensions 4 | { 5 | public static class LinkedListExtensions 6 | { 7 | public static LinkedListNode NextOrFirst(this LinkedListNode current) 8 | { 9 | return current.Next ?? current.List.First; 10 | } 11 | 12 | public static LinkedListNode PreviousOrLast(this LinkedListNode current) 13 | { 14 | return current.Previous ?? current.List.Last; 15 | } 16 | 17 | public static IEnumerable> Nodes(this LinkedList list) 18 | { 19 | for (var node = list.First; node != null; node = node.Next) 20 | { 21 | yield return node; 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Assets/Sources/Extensions/LinkedListExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4ab53945176447e897705cc0941663d 3 | timeCreated: 1473484605 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79b728f065812314bb6bb9e37cb5f3d3 3 | folderAsset: yes 4 | timeCreated: 1441128582 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/AIMove.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9220de11c23e4bf40b0b21e2f53a636b 3 | folderAsset: yes 4 | timeCreated: 1441226780 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/AIMove/AIMoveComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class AIMoveComponent : IComponent 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /Assets/Sources/Features/AIMove/AIMoveComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2d0cc9c1a8e1b54a96220b57f9fffe1 3 | timeCreated: 1441226784 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/AIMove/AIMoveSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31a1be25472ca47a9bd784d6926f767d 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/AIMove/AIMoveTargetComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class AIMoveTargetComponent : IComponent 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/AIMove/AIMoveTargetComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c85bf94df049d6d44865287dfa1f5497 3 | timeCreated: 1441226780 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Animation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d1d2309390374a47b46a8467ecc4d70 3 | folderAsset: yes 4 | timeCreated: 1441379677 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Animation/AnimationComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class AnimationComponent : IComponent 5 | { 6 | public Animation animation; 7 | 8 | public string name 9 | { 10 | get { return animation.ToString(); } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Animation/AnimationComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4862df9ec7de34b498d10cf99d0c1e9c 3 | timeCreated: 1441379677 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Animation/AnimationSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class AnimationSystem : ReactiveSystem 6 | { 7 | public AnimationSystem(Contexts contexts) 8 | : base(contexts.pool) 9 | { 10 | } 11 | 12 | protected override bool Filter(PoolEntity entity) 13 | { 14 | return entity.hasAnimation && entity.hasView; 15 | } 16 | 17 | protected override ICollector GetTrigger(IContext context) 18 | { 19 | return new Collector( 20 | new [] 21 | { context.GetGroup(Matcher.AllOf( 22 | PoolMatcher.Animation, 23 | PoolMatcher.View)) 24 | }, 25 | new [] { GroupEvent.Added } 26 | ); 27 | } 28 | 29 | protected override void Execute(List entities) 30 | { 31 | foreach (var e in entities) 32 | { 33 | var animation = e.animation.name; 34 | var gameObject = e.view.gameObject; 35 | 36 | var animator = gameObject.GetComponent(); 37 | if (animator != null) 38 | { 39 | // we are using triggers only so we can assume SetTrigger 40 | animator.SetTrigger(animation); 41 | } 42 | 43 | // animations are single use so destroy after using 44 | e.RemoveAnimation(); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Animation/AnimationSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc028c3871fbf4916a7229f239ffaa87 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Audio.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8096c90a08f65f41968a546970d05c3 3 | folderAsset: yes 4 | timeCreated: 1441917178 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Audio/AudioSourceComponents.cs: -------------------------------------------------------------------------------- 1 | [Pool] 2 | public class AudioComponent : BaseAudioComponent 3 | { 4 | } 5 | 6 | [Pool] 7 | public class AudioAttackSourceComponent : BaseAudioComponent 8 | { 9 | } 10 | 11 | [Pool] 12 | public class AudioDeathSourceComponent : BaseAudioComponent 13 | { 14 | } 15 | 16 | [Pool] 17 | public class AudioPickupSourceComponent : BaseAudioComponent 18 | { 19 | } 20 | 21 | [Pool] 22 | public class AudioWalkSourceComponent : BaseAudioComponent 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Audio/AudioSourceComponents.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed0ac2565f97f7d439966018ff115209 3 | timeCreated: 1441918599 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Audio/BaseAudioComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Linq; 3 | 4 | public abstract class BaseAudioComponent : IComponent 5 | { 6 | public Audio[] clips; 7 | public bool randomizePitch; 8 | 9 | public string[] clipNames 10 | { 11 | get { return clips.Select(i => i.ToString()).ToArray(); } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Audio/BaseAudioComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6b8c444682ca4cfd8bc3e65466be586 3 | timeCreated: 1496115074 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8ede2e9c90dbff4d8ce85e4b98eaf61 3 | folderAsset: yes 4 | timeCreated: 1441126371 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Components/ConfigComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class ConfigComponent : IComponent 7 | { 8 | public int columns; 9 | public int rows; 10 | public int foodCountMin; 11 | public int foodCountMax; 12 | public int wallCountMin; 13 | public int wallCountMax; 14 | public int enemyCountMultiplier; 15 | public int foodPoints; 16 | public int sodaPoints; 17 | public int enemy1Dmg; 18 | public int enemy2Dmg; 19 | public float turnDelay; 20 | } 21 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Components/ConfigComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbdee2e22e25e4250b1ad6a1637f86a5 3 | timeCreated: 1474648665 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Components/PositionComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class PositionComponent : IComponent 5 | { 6 | public int x; 7 | public int y; 8 | 9 | public override bool Equals(object obj) 10 | { 11 | var other = obj as PositionComponent; 12 | return other != null && x == other.x && y == other.y; 13 | } 14 | 15 | public override int GetHashCode() 16 | { 17 | int hash = 13; 18 | hash = (hash * 7) + x.GetHashCode(); 19 | hash = (hash * 7) + y.GetHashCode(); 20 | return hash; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Components/PositionComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ccf79fc203e18b40995516ce734c067 3 | timeCreated: 1441126428 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Coroutine.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b43c6a9063e124df4a87fda650bbf067 3 | folderAsset: yes 4 | timeCreated: 1473384546 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Coroutine/CoroutineComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections; 3 | 4 | [Pool] 5 | public class CoroutineComponent : IComponent 6 | { 7 | public IEnumerator value; 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Coroutine/CoroutineComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af618a02188c34290bcc165f8456d58a 3 | timeCreated: 1473384546 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Coroutine/CoroutineSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | public class CoroutineSystem : IExecuteSystem 4 | { 5 | readonly PoolContext pool; 6 | readonly IGroup coroutinesGroup; 7 | 8 | public CoroutineSystem(Contexts contexts) 9 | { 10 | pool = contexts.pool; 11 | coroutinesGroup = pool.GetGroup(PoolMatcher.Coroutine); 12 | } 13 | 14 | void IExecuteSystem.Execute() 15 | { 16 | foreach (var e in coroutinesGroup.GetEntities()) 17 | { 18 | var coroutine = e.coroutine.value; 19 | if (!coroutine.MoveNext()) 20 | { 21 | e.RemoveCoroutine(); 22 | pool.DestroyEntityIfEmpty(e); 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Coroutine/CoroutineSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4bde367f5d58e48c8ac2242f647a5599 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/DamageSprite.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3e516fa021eb5b4ba4254fe0ef0fb1c 3 | folderAsset: yes 4 | timeCreated: 1441316470 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/DamageSprite/DamageSpriteComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class DamageSpriteComponent : IComponent 5 | { 6 | public Sprite sprite; 7 | 8 | public string name 9 | { 10 | get { return sprite.ToString(); } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/DamageSprite/DamageSpriteComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 786458c1965692649aa6eeb76011d517 3 | timeCreated: 1441316475 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/DamageSprite/DamageSpriteSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09c1262542ff0437e8953f9dcd70c1b9 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/DamageSprite/SpriteCacheComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | using System.Collections.Generic; 4 | 5 | [Pool] 6 | [Unique] 7 | public class SpriteCacheComponent : IComponent 8 | { 9 | public IDictionary value; 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Sources/Features/DamageSprite/SpriteCacheComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d54c9fe76714420faa4e19ce9cc03de 3 | timeCreated: 1474082313 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Destructible.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b07e43aea72fab49aa3874503965eb5 3 | folderAsset: yes 4 | timeCreated: 1441316470 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Destructible/DestructibleComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class DestructibleComponent : IComponent 5 | { 6 | public int hp; 7 | public int startingHP; 8 | 9 | public bool IsDamaged 10 | { 11 | get { return hp < startingHP; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Destructible/DestructibleComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30f26c5992970d14a8b0690610bcab49 3 | timeCreated: 1441316470 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Destructible/DestructibleSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections.Generic; 3 | 4 | public class DestructibleSystem : ReactiveSystem 5 | { 6 | readonly PoolContext pool; 7 | 8 | public DestructibleSystem(Contexts contexts) 9 | : base(contexts.pool) 10 | { 11 | pool = contexts.pool; 12 | } 13 | 14 | protected override bool Filter(PoolEntity entity) 15 | { 16 | return entity.hasDestructible; 17 | } 18 | 19 | protected override ICollector GetTrigger( 20 | IContext context) 21 | { 22 | return context.CreateCollector(PoolMatcher.Destructible); 23 | } 24 | 25 | protected override void Execute(List entities) 26 | { 27 | foreach (var e in entities) 28 | { 29 | if (e.destructible.hp <= 0) 30 | { 31 | pool.DestroyEntity(e); 32 | } 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Destructible/DestructibleSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37b8661a1205c49acb637d15ec99cd75 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 107bf76c1d072f34691448ef7b5c5f47 3 | folderAsset: yes 4 | timeCreated: 1441909849 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/DeleteOnExitComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class DeleteOnExitComponent : IComponent 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/DeleteOnExitComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4909faa59e76d304f91d3b1ba6789cd5 3 | timeCreated: 1441727786 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/ExitComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class ExitComponent : IComponent 5 | { 6 | } -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/ExitComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0950139725688445a1f603ed586225b 3 | timeCreated: 1441724586 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/ExitSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections.Generic; 3 | 4 | public class ExitSystem : ReactiveSystem 5 | { 6 | readonly PoolContext pool; 7 | readonly IGroup exitGroup; 8 | 9 | public ExitSystem(Contexts contexts) 10 | : base(contexts.pool) 11 | { 12 | pool = contexts.pool; 13 | exitGroup = pool.GetGroup(PoolMatcher.Exit); 14 | } 15 | 16 | protected override bool Filter(PoolEntity entity) 17 | { 18 | return true; 19 | } 20 | 21 | protected override ICollector GetTrigger(IContext context) 22 | { 23 | return context.CreateCollector(Matcher.AllOf( 24 | PoolMatcher.Controllable, 25 | PoolMatcher.Position)); 26 | } 27 | 28 | protected override void Execute(List entities) 29 | { 30 | var controllablePos = pool.controllableEntity.position; 31 | 32 | foreach (var exit in exitGroup.GetEntities()) 33 | { 34 | if (controllablePos.Equals(exit.position)) 35 | { 36 | int currentLevel = pool.level.level; 37 | pool.ReplaceLevel(currentLevel + 1); 38 | break; 39 | } 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/ExitSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39d5941b4225f4c48b5457fcc871ec93 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/LevelComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class LevelComponent : IComponent 7 | { 8 | public int level; 9 | } 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/LevelComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 308994f5c0a08e34aa78d8e90a7b5bb0 3 | timeCreated: 1441723424 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/LevelTransitionDelayComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class LevelTransitionDelayComponent : IComponent 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Exit/LevelTransitionDelayComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 477f4597ce218104bb71d7b8eb5416fc 3 | timeCreated: 1441746111 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7e298e82c7757f428921711efcea4d7 3 | folderAsset: yes 4 | timeCreated: 1441310090 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food/FoodBagComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class FoodBagComponent : IComponent 7 | { 8 | public int points; 9 | } 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food/FoodBagComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 681316ab0768fa94ba6958dd41c04285 3 | timeCreated: 1441310558 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food/FoodComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class FoodComponent : IComponent 5 | { 6 | public int points; 7 | } 8 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food/FoodComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f801028a179995458519289106b4072 3 | timeCreated: 1441310090 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food/FoodDamagerComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class FoodDamagerComponent : IComponent 5 | { 6 | public int points; 7 | } 8 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food/FoodDamagerComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25a84cc6eb8cced42a59dbb032feaf05 3 | timeCreated: 1441384046 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food/FoodSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using ICollectionOfEntityExtensions; 3 | using System.Collections.Generic; 4 | 5 | public class FoodSystem : ReactiveSystem 6 | { 7 | readonly PoolContext pool; 8 | 9 | public FoodSystem(Contexts contexts) 10 | : base(contexts.pool) 11 | { 12 | pool = contexts.pool; 13 | } 14 | 15 | protected override bool Filter(PoolEntity entity) 16 | { 17 | return true; 18 | } 19 | 20 | protected override ICollector GetTrigger(IContext context) 21 | { 22 | return context.CreateCollector(Matcher.AllOf( 23 | PoolMatcher.Controllable, 24 | PoolMatcher.Position)); 25 | } 26 | 27 | protected override void Execute(List entities) 28 | { 29 | var position = pool.controllableEntity.position; 30 | ICollection posEntities; 31 | pool.IsGameBoardPositionOpen(position, out posEntities); 32 | 33 | PoolEntity food; 34 | if (posEntities != null && 35 | posEntities.ContainsComponent(PoolComponentsLookup.Food, out food)) 36 | { 37 | int points = food.food.points; 38 | pool.PlayAudio(food.audioPickupSource); 39 | pool.AddToFoodBag(points); 40 | pool.DestroyEntity(food); 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Food/FoodSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 208eaadd4a62a4fa887da875b7f3765f 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf53286b6cc33a341be61fc05d4f7b4d 3 | folderAsset: yes 4 | timeCreated: 1441141202 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/CreateGameBoardSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c8c83573f0794f6eaaf9bbbebfebfec 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GameBoardCacheComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | using System.Collections.Generic; 4 | 5 | [Pool] 6 | [Unique] 7 | public class GameBoardCacheComponent : IComponent 8 | { 9 | public ICollection[,] grid; 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GameBoardCacheComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c19d7e7fa8f586b4f870c659581108b3 3 | timeCreated: 1441305381 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GameBoardCacheSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbd3955c04344494f823bf303bf4ad89 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GameBoardComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class GameBoardComponent : IComponent 7 | { 8 | public int columns; 9 | public int rows; 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GameBoardComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7c7a3abdc4bea1a4b9cb2ee8085699d5 3 | timeCreated: 1441126018 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GameBoardElementComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class GameBoardElementComponent : IComponent 5 | { 6 | } -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GameBoardElementComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc26ba074dd4e3141a7e228d12bca189 3 | timeCreated: 1441303796 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GridPositionsComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | using UnityEngine; 4 | using System.Collections.Generic; 5 | 6 | [Pool] 7 | [Unique] 8 | public class GridPositionsComponent : IComponent 9 | { 10 | public IList value; 11 | } 12 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameBoard/GridPositionsComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc29aea96ef6c4d1e83b4fc4e0c0f1f4 3 | timeCreated: 1474075764 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameOver.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 495ff05d259ac9347b3fe16d9385493a 3 | folderAsset: yes 4 | timeCreated: 1441752987 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameOver/GameOverComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class GameOverComponent : IComponent 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameOver/GameOverComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34d988437b04bff46b54d63ed06c43ac 3 | timeCreated: 1441752987 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameOver/GameOverSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections.Generic; 3 | 4 | public class GameOverSystem : ReactiveSystem 5 | { 6 | readonly PoolContext pool; 7 | 8 | public GameOverSystem(Contexts contexts) 9 | : base(contexts.pool) 10 | { 11 | pool = contexts.pool; 12 | } 13 | 14 | protected override bool Filter(PoolEntity entity) 15 | { 16 | return true; 17 | } 18 | 19 | protected override ICollector GetTrigger(IContext context) 20 | { 21 | return context.CreateCollector(PoolMatcher.FoodBag); 22 | } 23 | 24 | protected override void Execute(List entities) 25 | { 26 | if (!pool.isGameOver && pool.hasFoodBag && pool.foodBag.points <= 0) 27 | { 28 | pool.isGameOver = true; 29 | pool.PlayAudio(pool.controllableEntity.audioDeathSource); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Assets/Sources/Features/GameOver/GameOverSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ea451a2a055343b0a0cb58e9bc2dd30 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Input.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66d6104155033ee4084859d05146c094 3 | folderAsset: yes 4 | timeCreated: 1441128603 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Input/ControllableComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class ControllableComponent : IComponent 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Input/ControllableComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a4a4e269960c31448c13b7c6a8b5699 3 | timeCreated: 1441128645 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Input/InputSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4587d398ed3a7468186ce6b5abba4fb9 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Input/MoveInputComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class MoveInputComponent : IComponent 7 | { 8 | public Movement movement; 9 | } 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Input/MoveInputComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddf02bdf15dd11f468599ab374db55bb 3 | timeCreated: 1441128634 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfedcc8e527b4ab4ba5bbc7b6577c312 3 | folderAsset: yes 4 | timeCreated: 1441135153 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/AddViewSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d60107191f38c461ebd9ca63cc8c7236 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/NestedViewComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class NestedViewComponent : IComponent 5 | { 6 | public string name; 7 | } 8 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/NestedViewComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63224b5e8e455b24e8d684e946688d93 3 | timeCreated: 1441205620 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/NestedViewContainerComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | [Pool] 7 | [Unique] 8 | public class NestedViewContainerComponent : IComponent 9 | { 10 | public IDictionary value; 11 | } 12 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/NestedViewContainerComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb34e8c548abd4efdb49ccd1ce9232c4 3 | timeCreated: 1474078674 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/RemoveViewSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class RemoveViewSystem : ReactiveSystem 6 | { 7 | public RemoveViewSystem(Contexts contexts) 8 | : base(contexts.pool) 9 | { 10 | contexts.pool.GetGroup(PoolMatcher.View).OnEntityRemoved += OnEntityRemoved; 11 | } 12 | 13 | protected override bool Filter(PoolEntity entity) 14 | { 15 | return entity.hasView; 16 | } 17 | 18 | protected override ICollector GetTrigger(IContext context) 19 | { 20 | return new Collector( 21 | new [] 22 | { 23 | context.GetGroup(PoolMatcher.Resource), 24 | }, 25 | new [] 26 | { 27 | GroupEvent.Removed 28 | } 29 | ); 30 | } 31 | 32 | protected override void Execute(List entities) 33 | { 34 | Debug.Log("RemoveViewSystem"); 35 | 36 | foreach (var e in entities) 37 | { 38 | e.RemoveView(); 39 | } 40 | } 41 | 42 | void OnEntityRemoved(IGroup group, Entity entity, int index, 43 | IComponent component) 44 | { 45 | var viewComponent = (ViewComponent)component; 46 | var gameObject = viewComponent.gameObject; 47 | Object.Destroy(gameObject); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/RemoveViewSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41d23588f2f3442728203334d81af597 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/RenderPositionSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class RenderPositionSystem : ReactiveSystem 6 | { 7 | public RenderPositionSystem(Contexts contexts) 8 | : base(contexts.pool) 9 | { 10 | } 11 | 12 | protected override bool Filter(PoolEntity entity) 13 | { 14 | return !entity.hasSmoothMove; 15 | } 16 | 17 | protected override ICollector GetTrigger(IContext context) 18 | { 19 | return context.CreateCollector(Matcher.AllOf( 20 | PoolMatcher.Position, 21 | PoolMatcher.View)); 22 | } 23 | 24 | protected override void Execute(List entities) 25 | { 26 | foreach (var e in entities) 27 | { 28 | var pos = e.position; 29 | e.view.gameObject.transform.position = new Vector3(pos.x, pos.y, 0f); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/RenderPositionSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4149d982426fa45818d9e76c0efbc5be 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/ResourceComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class ResourceComponent : IComponent 5 | { 6 | public Prefab prefab; 7 | 8 | public string name 9 | { 10 | get { return prefab.ToString(); } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/ResourceComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5d5dd12a6ce9a64a94222c519764479 3 | timeCreated: 1441136055 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/ViewComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using UnityEngine; 3 | 4 | [Pool] 5 | public class ViewComponent : IComponent 6 | { 7 | public GameObject gameObject; 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/ViewComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c49d8393c0db2a34f9508ecb1d3e314e 3 | timeCreated: 1441136233 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/ViewContainerComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | using UnityEngine; 4 | 5 | [Pool] 6 | [Unique] 7 | public class ViewContainerComponent : IComponent 8 | { 9 | public Transform value; 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Render/ViewContainerComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7e71891eec204ff886aeac45de9b2d5 3 | timeCreated: 1474078674 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/SmoothMove.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e8b27c91811a82408ef5b6f8f9a743a 3 | folderAsset: yes 4 | timeCreated: 1441810626 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/SmoothMove/SmoothMoveComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class SmoothMoveComponent : IComponent 5 | { 6 | public float moveTime; 7 | } 8 | -------------------------------------------------------------------------------- /Assets/Sources/Features/SmoothMove/SmoothMoveComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37786080a52d0cb43a20ed8bb117bbdd 3 | timeCreated: 1441810626 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/SmoothMove/SmoothMoveInProgressComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class SmoothMoveInProgressComponent : IComponent 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /Assets/Sources/Features/SmoothMove/SmoothMoveInProgressComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56471abcc0989c24ca58f7b27a8a1dc3 3 | timeCreated: 1441810630 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/SmoothMove/SmoothMoveSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using System.Collections; 3 | using UnityEngine; 4 | 5 | public class SmoothMoveSystem : IExecuteSystem 6 | { 7 | readonly IGroup smoothMoveGroup; 8 | 9 | public SmoothMoveSystem(Contexts contexts) 10 | { 11 | smoothMoveGroup = contexts.pool.GetGroup(Matcher.AllOf( 12 | PoolMatcher.View, 13 | PoolMatcher.Position, 14 | PoolMatcher.SmoothMove)); 15 | } 16 | 17 | void IExecuteSystem.Execute() 18 | { 19 | var entities = smoothMoveGroup.GetEntities(); 20 | foreach (var e in entities) 21 | { 22 | if (e.isSmoothMoveInProgress) 23 | { 24 | // already being handled, ignore 25 | continue; 26 | } 27 | 28 | var position = e.position; 29 | var viewPosition = e.view.gameObject.transform.position; 30 | if (position.x != viewPosition.x || position.y != viewPosition.y) 31 | { 32 | e.isSmoothMoveInProgress = true; 33 | e.AddCoroutine(SmoothMovement(e)); 34 | } 35 | } 36 | } 37 | 38 | static IEnumerator SmoothMovement(PoolEntity entity) 39 | { 40 | var gameObject = entity.view.gameObject; 41 | var transform = gameObject.transform; 42 | var rigidBody2d = gameObject.GetComponent(); 43 | var end = new Vector3(entity.position.x, entity.position.y, 0f); 44 | var inverseMoveTime = 1f / entity.smoothMove.moveTime; 45 | var sqrRemainingDistance = (transform.position - end).sqrMagnitude; 46 | 47 | while (sqrRemainingDistance > float.Epsilon) 48 | { 49 | Vector2 newPostion = Vector2.MoveTowards(rigidBody2d.position, end, inverseMoveTime * Time.deltaTime); 50 | rigidBody2d.MovePosition(newPostion); 51 | sqrRemainingDistance = (transform.position - end).sqrMagnitude; 52 | yield return null; 53 | } 54 | entity.isSmoothMoveInProgress = false; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Assets/Sources/Features/SmoothMove/SmoothMoveSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe2601f9493a14ff0b3b01d684d4ad26 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Systems.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a5bc1959605dd5478e1a44272902952 3 | folderAsset: yes 4 | timeCreated: 1441311633 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Systems/GameStartSystem.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | public class GameStartSystem : IInitializeSystem 4 | { 5 | readonly PoolContext pool; 6 | 7 | public GameStartSystem(Contexts contexts) 8 | { 9 | pool = contexts.pool; 10 | } 11 | 12 | void IInitializeSystem.Initialize() 13 | { 14 | pool.SetFoodBag(100); 15 | pool.SetConfig( 16 | DefaultConfigConstants.COLUMNS, 17 | DefaultConfigConstants.ROWS, 18 | DefaultConfigConstants.FOOD_COUNT_MIN, 19 | DefaultConfigConstants.FOOD_COUNT_MAX, 20 | DefaultConfigConstants.WALL_COUNT_MIN, 21 | DefaultConfigConstants.WALL_COUNT_MAX, 22 | DefaultConfigConstants.ENEMY_COUNT_MULTIPLIER, 23 | DefaultConfigConstants.FOOD_POINTS, 24 | DefaultConfigConstants.SODA_POINTS, 25 | DefaultConfigConstants.ENEMY1_DMG, 26 | DefaultConfigConstants.ENEMY2_DMG, 27 | DefaultConfigConstants.TURN_DELAY 28 | ); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Systems/GameStartSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3845c85a874424b58ba3cc744bd30f2f 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55c5e4acdc0a1474997bc67224b281da 3 | folderAsset: yes 4 | timeCreated: 1441213119 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/ActiveTurnBasedComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class ActiveTurnBasedComponent : IComponent 7 | { 8 | } -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/ActiveTurnBasedComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a613f3097982094d843a8eaaddae5d3 3 | timeCreated: 1441214136 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/CurrentTurnNodeComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | using System.Collections.Generic; 4 | 5 | [Pool] 6 | [Unique] 7 | public class CurrentTurnNodeComponent : IComponent 8 | { 9 | public LinkedListNode value; 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/CurrentTurnNodeComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13bd32f1adb974a8487e8c19459f1e3b 3 | timeCreated: 1474079812 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/NextTurnComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | 4 | [Pool] 5 | [Unique] 6 | public class NextTurnComponent : IComponent 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/NextTurnComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8109e70878e8746698b2bfd3dd6c85b2 3 | timeCreated: 1473439475 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/SkipTurnComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class SkipTurnComponent : IComponent 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/SkipTurnComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4758a6948b3941e48a7929c9256b426d 3 | timeCreated: 1441384847 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/TurnBasedComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | 3 | [Pool] 4 | public class TurnBasedComponent : IComponent 5 | { 6 | public int index; 7 | public float delay; 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/TurnBasedComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0c10cdac8c378843ad04c57c498592d 3 | timeCreated: 1441213123 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/TurnOrderComponent.cs: -------------------------------------------------------------------------------- 1 | using Entitas; 2 | using Entitas.CodeGeneration.Attributes; 3 | using System.Collections.Generic; 4 | 5 | [Pool] 6 | [Unique] 7 | public class TurnOrderComponent : IComponent 8 | { 9 | public LinkedList value; 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/TurnOrderComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9cc28e364b6843868e5144b8495543d 3 | timeCreated: 1474079812 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Features/Turn/TurnSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1d9dcd6284014c9db48ff406d304f8e 3 | timeCreated: 1496198712 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sources/Generated.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4e1fcd1ddefe0d479e7d6a08bfcde60 3 | folderAsset: yes 4 | timeCreated: 1441130186 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Contexts.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8593dc7ea4d8c459b85549faa143d678 3 | timeCreated: 1496112726 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Feature.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.VisualDebugging.CodeGeneration.Plugins.FeatureClassGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | #if (!ENTITAS_DISABLE_VISUAL_DEBUGGING && UNITY_EDITOR) 10 | 11 | public class Feature : Entitas.VisualDebugging.Unity.DebugSystems { 12 | 13 | public Feature(string name) : base(name) { 14 | } 15 | 16 | public Feature() : base(true) { 17 | var typeName = Entitas.Utils.TypeSerializationExtension.ToCompilableString(GetType()); 18 | var shortType = Entitas.Utils.TypeSerializationExtension.ShortTypeName(typeName); 19 | var readableType = Entitas.Utils.StringExtension.ToSpacedCamelCase(shortType); 20 | 21 | initialize(readableType); 22 | } 23 | } 24 | 25 | #else 26 | 27 | public class Feature : Entitas.Systems { 28 | 29 | public Feature(string name) { 30 | } 31 | 32 | public Feature() { 33 | } 34 | } 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Feature.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8445e8f121e9444e2bcae4c41f5467a3 3 | timeCreated: 1497207276 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a03906b0c31ab440dabb3a0869b38958 3 | folderAsset: yes 4 | timeCreated: 1496200152 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed2d9ebea7ef149ed81f34e9b464bff1 3 | folderAsset: yes 4 | timeCreated: 1496200152 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAIMoveComponent.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public partial class PoolEntity { 10 | 11 | static readonly AIMoveComponent aIMoveComponent = new AIMoveComponent(); 12 | 13 | public bool isAIMove { 14 | get { return HasComponent(PoolComponentsLookup.AIMove); } 15 | set { 16 | if (value != isAIMove) { 17 | if (value) { 18 | AddComponent(PoolComponentsLookup.AIMove, aIMoveComponent); 19 | } else { 20 | RemoveComponent(PoolComponentsLookup.AIMove); 21 | } 22 | } 23 | } 24 | } 25 | } 26 | 27 | //------------------------------------------------------------------------------ 28 | // 29 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentMatcherGenerator. 30 | // 31 | // Changes to this file may cause incorrect behavior and will be lost if 32 | // the code is regenerated. 33 | // 34 | //------------------------------------------------------------------------------ 35 | public sealed partial class PoolMatcher { 36 | 37 | static Entitas.IMatcher _matcherAIMove; 38 | 39 | public static Entitas.IMatcher AIMove { 40 | get { 41 | if (_matcherAIMove == null) { 42 | var matcher = (Entitas.Matcher)Entitas.Matcher.AllOf(PoolComponentsLookup.AIMove); 43 | matcher.componentNames = PoolComponentsLookup.componentNames; 44 | _matcherAIMove = matcher; 45 | } 46 | 47 | return _matcherAIMove; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAIMoveComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c31e8bc151db44269b00584ad54e7866 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAIMoveTargetComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c5c87982174b4f5aadba3abead6a8c2 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolActiveTurnBasedComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b85b662edc9a84359a877b3daab77a37 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAnimationComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0964c1351dd64b30b04f6088a7486c6 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAudioAttackSourceComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28438a3506bff4ea4b70a5a28fac0eaa 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAudioComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7c0b10284f5d4c6aaef8b6972ec4f93 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAudioDeathSourceComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81c5af1fe98f64be6baf1928188f6d46 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAudioPickupSourceComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cee575fd9b9714bae817606b91884775 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolAudioWalkSourceComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a216cdcd9e6d42ccafc28874df19fdd 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolConfigComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e342ae051d9844f08a851722e6a6340 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolControllableComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 480aa697407a14c49bda88f25aab9d3a 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolCoroutineComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87dff9165f4414773b627a1d34c3d5fe 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolCurrentTurnNodeComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a3abf9116fe745e5a99686583c40d4d 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolDamageSpriteComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 275dce6782f6a48ffad740476e1e2c87 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolDeleteOnExitComponent.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public partial class PoolEntity { 10 | 11 | static readonly DeleteOnExitComponent deleteOnExitComponent = new DeleteOnExitComponent(); 12 | 13 | public bool isDeleteOnExit { 14 | get { return HasComponent(PoolComponentsLookup.DeleteOnExit); } 15 | set { 16 | if (value != isDeleteOnExit) { 17 | if (value) { 18 | AddComponent(PoolComponentsLookup.DeleteOnExit, deleteOnExitComponent); 19 | } else { 20 | RemoveComponent(PoolComponentsLookup.DeleteOnExit); 21 | } 22 | } 23 | } 24 | } 25 | } 26 | 27 | //------------------------------------------------------------------------------ 28 | // 29 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentMatcherGenerator. 30 | // 31 | // Changes to this file may cause incorrect behavior and will be lost if 32 | // the code is regenerated. 33 | // 34 | //------------------------------------------------------------------------------ 35 | public sealed partial class PoolMatcher { 36 | 37 | static Entitas.IMatcher _matcherDeleteOnExit; 38 | 39 | public static Entitas.IMatcher DeleteOnExit { 40 | get { 41 | if (_matcherDeleteOnExit == null) { 42 | var matcher = (Entitas.Matcher)Entitas.Matcher.AllOf(PoolComponentsLookup.DeleteOnExit); 43 | matcher.componentNames = PoolComponentsLookup.componentNames; 44 | _matcherDeleteOnExit = matcher; 45 | } 46 | 47 | return _matcherDeleteOnExit; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolDeleteOnExitComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10b3bdaefd7084f94914db531674c3e3 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolDestructibleComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af82dff5ae30342028fee1434223436e 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolExitComponent.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public partial class PoolEntity { 10 | 11 | static readonly ExitComponent exitComponent = new ExitComponent(); 12 | 13 | public bool isExit { 14 | get { return HasComponent(PoolComponentsLookup.Exit); } 15 | set { 16 | if (value != isExit) { 17 | if (value) { 18 | AddComponent(PoolComponentsLookup.Exit, exitComponent); 19 | } else { 20 | RemoveComponent(PoolComponentsLookup.Exit); 21 | } 22 | } 23 | } 24 | } 25 | } 26 | 27 | //------------------------------------------------------------------------------ 28 | // 29 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentMatcherGenerator. 30 | // 31 | // Changes to this file may cause incorrect behavior and will be lost if 32 | // the code is regenerated. 33 | // 34 | //------------------------------------------------------------------------------ 35 | public sealed partial class PoolMatcher { 36 | 37 | static Entitas.IMatcher _matcherExit; 38 | 39 | public static Entitas.IMatcher Exit { 40 | get { 41 | if (_matcherExit == null) { 42 | var matcher = (Entitas.Matcher)Entitas.Matcher.AllOf(PoolComponentsLookup.Exit); 43 | matcher.componentNames = PoolComponentsLookup.componentNames; 44 | _matcherExit = matcher; 45 | } 46 | 47 | return _matcherExit; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolExitComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c1692f8849594898a831d1299c8967c 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolFoodBagComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b22561e960d78474b8702f4365db7635 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolFoodComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52b9be1fcdb4840a09ec7eea33833ca8 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolFoodDamagerComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f378dfe0a82794dd0892e1318fdea0d0 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolGameBoardCacheComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd44013aa3d0e4683b72c13a77653051 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolGameBoardComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9406df3cf9da9494993988330d891d86 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolGameBoardElementComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99195df47d43749f98f3b25e98832446 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolGameOverComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0590319478c634be98a612c98567f118 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolGridPositionsComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 723567fa5b5ab4310ae504782d2d93d4 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolLevelComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12fd3d1832529498892f0d9e676b770d 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolLevelTransitionDelayComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e718cf2b443a544fba8560c21bbe29af 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolMoveInputComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c5924478f5864d0a8a445dbd0d15653 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolNestedViewComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfb7612aaf2a043a393d8a645678f0ef 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolNestedViewContainerComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a96f08dab67bc4e8482876b5870cd818 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolNextTurnComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79b07f45d52b344a2b28ac50121a0512 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolPositionComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 170e352df3b6a40a4978a8b83a28d5f1 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolResourceComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b95c6909586b495a84d0faacabae546 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolSkipTurnComponent.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public partial class PoolEntity { 10 | 11 | static readonly SkipTurnComponent skipTurnComponent = new SkipTurnComponent(); 12 | 13 | public bool isSkipTurn { 14 | get { return HasComponent(PoolComponentsLookup.SkipTurn); } 15 | set { 16 | if (value != isSkipTurn) { 17 | if (value) { 18 | AddComponent(PoolComponentsLookup.SkipTurn, skipTurnComponent); 19 | } else { 20 | RemoveComponent(PoolComponentsLookup.SkipTurn); 21 | } 22 | } 23 | } 24 | } 25 | } 26 | 27 | //------------------------------------------------------------------------------ 28 | // 29 | // This code was generated by Entitas.CodeGeneration.Plugins.ComponentMatcherGenerator. 30 | // 31 | // Changes to this file may cause incorrect behavior and will be lost if 32 | // the code is regenerated. 33 | // 34 | //------------------------------------------------------------------------------ 35 | public sealed partial class PoolMatcher { 36 | 37 | static Entitas.IMatcher _matcherSkipTurn; 38 | 39 | public static Entitas.IMatcher SkipTurn { 40 | get { 41 | if (_matcherSkipTurn == null) { 42 | var matcher = (Entitas.Matcher)Entitas.Matcher.AllOf(PoolComponentsLookup.SkipTurn); 43 | matcher.componentNames = PoolComponentsLookup.componentNames; 44 | _matcherSkipTurn = matcher; 45 | } 46 | 47 | return _matcherSkipTurn; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolSkipTurnComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2589dcc3dbd8046fb83ea5e90a63a925 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolSmoothMoveComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fde91934e8a6c4fa1ba700901a2958f1 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolSmoothMoveInProgressComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d07b73eb6d9a24dfaafc33ece3b4e82d 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolSpriteCacheComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93cd32eb2281a4a8e823210cdd52b0c7 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolTurnBasedComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 566b6c6ac299f4ef3a0062514c9ae6d2 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolTurnOrderComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47d7be6ea429248eb91ae86779fa9325 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolViewComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8df85ccc76c1d4b3fb4e92cf12133df7 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/Components/PoolViewContainerComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0771f8c4e858d48909476c2169d8464d 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolAttribute.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ContextAttributeGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public sealed class PoolAttribute : Entitas.CodeGeneration.Attributes.ContextAttribute { 10 | 11 | public PoolAttribute() : base("Pool") { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a04f88b7b0bf4d35a4bc2ac7f2ff52a 3 | timeCreated: 1496200152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolComponentsLookup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66b0a083695614b568c3ef3f8ecb2885 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolContext.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ContextGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public sealed partial class PoolContext : Entitas.Context { 10 | 11 | public PoolContext() 12 | : base( 13 | PoolComponentsLookup.TotalComponents, 14 | 0, 15 | new Entitas.ContextInfo( 16 | "Pool", 17 | PoolComponentsLookup.componentNames, 18 | PoolComponentsLookup.componentTypes 19 | ), 20 | (entity) => 21 | 22 | #if (ENTITAS_FAST_AND_UNSAFE) 23 | new Entitas.UnsafeAERC() 24 | #else 25 | new Entitas.SafeAERC(entity) 26 | #endif 27 | 28 | ) { 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6af248d7057bf439d80eaa22a5ffe14e 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolEntity.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.EntityGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public sealed partial class PoolEntity : Entitas.Entity { 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolEntity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f20e8a0822cc048628be5c6f14077ca2 3 | timeCreated: 1496200153 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolMatcher.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by Entitas.CodeGeneration.Plugins.ContextMatcherGenerator. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | public sealed partial class PoolMatcher { 10 | 11 | public static Entitas.IAllOfMatcher AllOf(params int[] indices) { 12 | return Entitas.Matcher.AllOf(indices); 13 | } 14 | 15 | public static Entitas.IAllOfMatcher AllOf(params Entitas.IMatcher[] matchers) { 16 | return Entitas.Matcher.AllOf(matchers); 17 | } 18 | 19 | public static Entitas.IAnyOfMatcher AnyOf(params int[] indices) { 20 | return Entitas.Matcher.AnyOf(indices); 21 | } 22 | 23 | public static Entitas.IAnyOfMatcher AnyOf(params Entitas.IMatcher[] matchers) { 24 | return Entitas.Matcher.AnyOf(matchers); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Assets/Sources/Generated/Pool/PoolMatcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b0dd3b90b3f1407aa88c53d75bf7fbb 3 | timeCreated: 1497208407 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | m_VirtualizeEffects: 1 17 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_EnablePCM: 1 18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 19 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/Main.unity 10 | guid: 00000000000000000000000000000000 11 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_DefaultBehaviorMode: 1 10 | m_SpritePackerMode: 2 11 | m_SpritePackerPaddingPower: 1 12 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 13 | m_ProjectGenerationRootNamespace: 14 | m_UserGeneratedProjectSuffix: 15 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} 35 | m_PreloadedShaders: [] 36 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 37 | type: 0} 38 | m_CustomRenderPipeline: {fileID: 0} 39 | m_TransparencySortMode: 0 40 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 41 | m_DefaultRenderingPath: 1 42 | m_DefaultMobileRenderingPath: 1 43 | m_TierSettings: [] 44 | m_LightmapStripping: 0 45 | m_FogStripping: 0 46 | m_InstancingStripping: 0 47 | m_LightmapKeepPlain: 1 48 | m_LightmapKeepDirCombined: 1 49 | m_LightmapKeepDynamicPlain: 1 50 | m_LightmapKeepDynamicDirCombined: 1 51 | m_LightmapKeepShadowMask: 1 52 | m_LightmapKeepSubtractive: 1 53 | m_FogKeepLinear: 1 54 | m_FogKeepExp: 1 55 | m_FogKeepExp2: 1 56 | m_AlbedoSwatchInfos: [] 57 | m_LightsUseLinearIntensity: 0 58 | m_LightsUseColorTemperature: 0 59 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | m_SettingNames: 89 | - Humanoid 90 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000004100000000000000 3 | LibraryAssetImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_CallbacksOnDisable: 1 26 | m_AlwaysShowColliders: 0 27 | m_ShowColliderSleep: 1 28 | m_ShowColliderContacts: 0 29 | m_ShowColliderAABB: 0 30 | m_ContactArrowScale: 0.2 31 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 32 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 33 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 34 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 35 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 36 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.6.1f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: 7 | - Food 8 | - Exit 9 | - Enemy 10 | - Soda 11 | layers: 12 | - Default 13 | - TransparentFX 14 | - Ignore Raycast 15 | - 16 | - Water 17 | - UI 18 | - 19 | - 20 | - BlockingLayer 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | - 41 | - 42 | - 43 | - 44 | m_SortingLayers: 45 | - name: Default 46 | uniqueID: 0 47 | locked: 0 48 | - name: Floor 49 | uniqueID: 3131993583 50 | locked: 0 51 | - name: Items 52 | uniqueID: 1861650685 53 | locked: 0 54 | - name: Units 55 | uniqueID: 3393972251 56 | locked: 0 57 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_Enabled: 0 14 | m_CaptureEditorExceptions: 1 15 | UnityPurchasingSettings: 16 | m_Enabled: 0 17 | m_TestMode: 0 18 | UnityAnalyticsSettings: 19 | m_Enabled: 0 20 | m_InitializeOnStartup: 1 21 | m_TestMode: 0 22 | m_TestEventUrl: 23 | m_TestConfigUrl: 24 | UnityAdsSettings: 25 | m_Enabled: 0 26 | m_InitializeOnStartup: 1 27 | m_TestMode: 0 28 | m_EnabledPlatforms: 4294967295 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | PerformanceReportingSettings: 32 | m_Enabled: 0 33 | -------------------------------------------------------------------------------- /ecs-talk-thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/ecs-talk-thumb.png -------------------------------------------------------------------------------- /screenshot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesMcMahon/entitas-2d-roguelike/120295528b08ec15666adffa46aa85191a23af0b/screenshot.gif --------------------------------------------------------------------------------