├── .gitignore ├── LICENSE ├── README.md └── StrangeRocks ├── Assembly-CSharp-Editor-vs.csproj ├── Assembly-CSharp-Editor.csproj ├── Assembly-CSharp-vs.csproj ├── Assembly-CSharp.csproj ├── Assembly-UnityScript-Editor-vs.unityproj ├── Assembly-UnityScript-Editor.unityproj ├── Assembly-UnityScript-vs.unityproj ├── Assembly-UnityScript.unityproj ├── Assets ├── art.meta ├── art │ ├── materials.meta │ ├── materials │ │ ├── game.meta │ │ ├── game │ │ │ ├── enemy_bubble_mat.mat │ │ │ ├── enemy_bubble_mat.mat.meta │ │ │ ├── enemy_fuselage_mat.mat │ │ │ ├── enemy_fuselage_mat.mat.meta │ │ │ ├── rock_mat.mat │ │ │ ├── rock_mat.mat.meta │ │ │ ├── ship_fins_mat.mat │ │ │ ├── ship_fins_mat.mat.meta │ │ │ ├── ship_fuselage_mat.mat │ │ │ ├── ship_fuselage_mat.mat.meta │ │ │ ├── user_tile_mat.mat │ │ │ └── user_tile_mat.mat.meta │ │ ├── missile_icon.mat │ │ ├── missile_icon.mat.meta │ │ ├── rotate_left_icon.mat │ │ ├── rotate_left_icon.mat.meta │ │ ├── rotate_right_icon.mat │ │ ├── rotate_right_icon.mat.meta │ │ ├── thrust_icon.mat │ │ ├── thrust_icon.mat.meta │ │ ├── ui.meta │ │ └── ui │ │ │ ├── default_button_mat.mat │ │ │ ├── default_button_mat.mat.meta │ │ │ ├── fire_button_mat.mat │ │ │ ├── fire_button_mat.mat.meta │ │ │ ├── panel_mat.mat │ │ │ ├── panel_mat.mat.meta │ │ │ ├── rotate_left_button_mat.mat │ │ │ ├── rotate_left_button_mat.mat.meta │ │ │ ├── rotate_right_button_mat.mat │ │ │ ├── rotate_right_button_mat.mat.meta │ │ │ ├── thrust_button_mat.mat │ │ │ └── thrust_button_mat.mat.meta │ ├── prefabs.meta │ ├── prefabs │ │ ├── disc_button.prefab │ │ ├── disc_button.prefab.meta │ │ ├── start_button.prefab │ │ └── start_button.prefab.meta │ ├── scenes.meta │ ├── scenes │ │ ├── game.unity │ │ ├── game.unity.meta │ │ ├── main.unity │ │ ├── main.unity.meta │ │ ├── ui.unity │ │ └── ui.unity.meta │ ├── textures.meta │ └── textures │ │ ├── missile_icon.png │ │ ├── missile_icon.png.meta │ │ ├── rock_texture.jpg │ │ ├── rock_texture.jpg.meta │ │ ├── rotate_left_icon.png │ │ ├── rotate_left_icon.png.meta │ │ ├── rotate_right_icon.png │ │ ├── rotate_right_icon.png.meta │ │ ├── thrust_icon.png │ │ └── thrust_icon.png.meta ├── resources.meta ├── resources │ ├── enemy.prefab │ ├── enemy.prefab.meta │ ├── enemy_missile.prefab │ ├── enemy_missile.prefab.meta │ ├── gameConfig.json │ ├── gameConfig.json.meta │ ├── missile.prefab │ ├── missile.prefab.meta │ ├── missile_explosion.prefab │ ├── missile_explosion.prefab.meta │ ├── player_explosion.prefab │ ├── player_explosion.prefab.meta │ ├── player_ship.prefab │ ├── player_ship.prefab.meta │ ├── rock.prefab │ └── rock.prefab.meta ├── scripts.meta └── scripts │ ├── strange.meta │ ├── strange │ ├── .gitignore │ ├── .tests │ │ ├── extensions │ │ │ ├── command │ │ │ │ ├── TestCommand.cs │ │ │ │ ├── TestCommandBinder.cs │ │ │ │ ├── TestCommandBinderWithoutPools.cs │ │ │ │ └── TestCommandPooling.cs │ │ │ ├── context │ │ │ │ ├── TestContext.cs │ │ │ │ ├── TestContextRemoval.cs │ │ │ │ ├── TestCrossContext.cs │ │ │ │ └── TestCrossContextBridge.cs │ │ │ ├── eventdispatcher │ │ │ │ ├── TestEventBinding.cs │ │ │ │ ├── TestEventCommand.cs │ │ │ │ ├── TestEventCommandPooling.cs │ │ │ │ └── TestEventDispatcher.cs │ │ │ ├── injector │ │ │ │ ├── InjectionSpeedTest.cs │ │ │ │ ├── TestImplicitBinding.cs │ │ │ │ ├── TestInjectionBinder.cs │ │ │ │ ├── TestInjectionBinding.cs │ │ │ │ ├── TestInjector.cs │ │ │ │ └── TestInjectorFactory.cs │ │ │ ├── pool │ │ │ │ └── TestPool.cs │ │ │ ├── reflector │ │ │ │ └── TestReflectionBinder.cs │ │ │ ├── sequencer │ │ │ │ ├── TestSequenceCommand.cs │ │ │ │ └── TestSequencer.cs │ │ │ └── signal │ │ │ │ ├── TestPooledSignalCommands.cs │ │ │ │ ├── TestSignal.cs │ │ │ │ └── TestSignalCommandBinder.cs │ │ ├── framework │ │ │ ├── TestBinder.cs │ │ │ ├── TestBinding.cs │ │ │ ├── TestBindingAsPoolFacade.cs │ │ │ └── TestSemiBinding.cs │ │ └── testPayloads │ │ │ ├── AbstractClass.cs │ │ │ ├── CircularDependencyOne.cs │ │ │ ├── CircularDependencyTwo.cs │ │ │ ├── ClassToBeInjected.cs │ │ │ ├── ClassWithConstructorParameters.cs │ │ │ ├── ClassWithConstructorParametersOnlyOneConstructor.cs │ │ │ ├── Commands │ │ │ ├── AsynchCommand.cs │ │ │ ├── CommandThrowsErrorIfEventIsNull.cs │ │ │ ├── CommandThrowsErrorIfEventIsNull2.cs │ │ │ ├── CommandThrowsErrorIfEventIsNull3.cs │ │ │ ├── CommandWithExecute.cs │ │ │ ├── CommandWithInjection.cs │ │ │ ├── CommandWithInjectionAndSignal.cs │ │ │ ├── CommandWithInjectionPlusSignalPayload.cs │ │ │ ├── CommandWithoutExecute.cs │ │ │ ├── FailCommand.cs │ │ │ └── MarkablePoolCommand.cs │ │ │ ├── ConstructorInjectsClassToBeInjected.cs │ │ │ ├── GuaranteedUniqueInstances.cs │ │ │ ├── HasNamedInjections.cs │ │ │ ├── HasTwoInjections.cs │ │ │ ├── IAnotherSimpleInterface.cs │ │ │ ├── ISimpleInterface.cs │ │ │ ├── InjectableDerivedClass.cs │ │ │ ├── InjectableSuperClass.cs │ │ │ ├── InjectsPostConstructSimple.cs │ │ │ ├── MarkerClass.cs │ │ │ ├── MockContext.cs │ │ │ ├── MultipleConstructorsOneThreeFour.cs │ │ │ ├── MultipleConstructorsUntagged.cs │ │ │ ├── NonpublicInjection.cs │ │ │ ├── PolymorphicClass.cs │ │ │ ├── PostConstructClass.cs │ │ │ ├── PostConstructSeveralOrdered.cs │ │ │ ├── PostConstructSimple.cs │ │ │ ├── PostConstructTwo.cs │ │ │ ├── SequenceCommands │ │ │ ├── SequenceCommandWithExecute.cs │ │ │ ├── SequenceCommandWithInjection.cs │ │ │ ├── SequenceCommandWithoutExecute.cs │ │ │ └── SequenceInterruptingCommand.cs │ │ │ ├── SimpleInterfaceImplementer.cs │ │ │ ├── SimpleInterfaceImplementerTwo.cs │ │ │ ├── SomeEnum.cs │ │ │ └── TestException.cs │ ├── README.md │ ├── README.md.meta │ ├── ReadMe.cs │ ├── ReadMe.cs.meta │ ├── extensions.meta │ ├── extensions │ │ ├── ReadMe.txt │ │ ├── ReadMe.txt.meta │ │ ├── command.meta │ │ ├── command │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── CommandExceptionType.cs │ │ │ │ ├── CommandExceptionType.cs.meta │ │ │ │ ├── CommandKeys.cs │ │ │ │ ├── CommandKeys.cs.meta │ │ │ │ ├── ICommand.cs │ │ │ │ ├── ICommand.cs.meta │ │ │ │ ├── ICommandBinder.cs │ │ │ │ ├── ICommandBinder.cs.meta │ │ │ │ ├── ICommandBinding.cs │ │ │ │ ├── ICommandBinding.cs.meta │ │ │ │ ├── IPooledCommandBinder.cs │ │ │ │ └── IPooledCommandBinder.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── Command.cs │ │ │ │ ├── Command.cs.meta │ │ │ │ ├── CommandBinder.cs │ │ │ │ ├── CommandBinder.cs.meta │ │ │ │ ├── CommandBinding.cs │ │ │ │ ├── CommandBinding.cs.meta │ │ │ │ ├── CommandException.cs │ │ │ │ ├── CommandException.cs.meta │ │ │ │ ├── EventCommand.cs │ │ │ │ ├── EventCommand.cs.meta │ │ │ │ ├── EventCommandBinder.cs │ │ │ │ ├── EventCommandBinder.cs.meta │ │ │ │ ├── SignalCommandBinder.cs │ │ │ │ └── SignalCommandBinder.cs.meta │ │ ├── context.meta │ │ ├── context │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── ContextEvent.cs │ │ │ │ ├── ContextEvent.cs.meta │ │ │ │ ├── ContextExceptionType.cs │ │ │ │ ├── ContextExceptionType.cs.meta │ │ │ │ ├── ContextKeys.cs │ │ │ │ ├── ContextKeys.cs.meta │ │ │ │ ├── ContextStartupFlags.cs │ │ │ │ ├── ContextStartupFlags.cs.meta │ │ │ │ ├── IContext.cs │ │ │ │ ├── IContext.cs.meta │ │ │ │ ├── IContextView.cs │ │ │ │ ├── IContextView.cs.meta │ │ │ │ ├── ICrossContextCapable.cs │ │ │ │ └── ICrossContextCapable.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── Context.cs │ │ │ │ ├── Context.cs.meta │ │ │ │ ├── ContextException.cs │ │ │ │ ├── ContextException.cs.meta │ │ │ │ ├── ContextView.cs │ │ │ │ ├── ContextView.cs.meta │ │ │ │ ├── CrossContext.cs │ │ │ │ ├── CrossContext.cs.meta │ │ │ │ ├── CrossContextBridge.cs │ │ │ │ ├── CrossContextBridge.cs.meta │ │ │ │ ├── MVCSContext.cs │ │ │ │ └── MVCSContext.cs.meta │ │ ├── dispatcher.meta │ │ ├── dispatcher │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── DispatcherExceptionType.cs │ │ │ │ ├── DispatcherExceptionType.cs.meta │ │ │ │ ├── IDispatcher.cs │ │ │ │ ├── IDispatcher.cs.meta │ │ │ │ ├── ITriggerProvider.cs │ │ │ │ ├── ITriggerProvider.cs.meta │ │ │ │ ├── ITriggerable.cs │ │ │ │ └── ITriggerable.cs.meta │ │ │ ├── eventdispatcher.meta │ │ │ ├── eventdispatcher │ │ │ │ ├── api.meta │ │ │ │ ├── api │ │ │ │ │ ├── EventCallbackType.cs │ │ │ │ │ ├── EventCallbackType.cs.meta │ │ │ │ │ ├── EventDispatcherExceptionType.cs │ │ │ │ │ ├── EventDispatcherExceptionType.cs.meta │ │ │ │ │ ├── IEvent.cs │ │ │ │ │ ├── IEvent.cs.meta │ │ │ │ │ ├── IEventBinding.cs │ │ │ │ │ ├── IEventBinding.cs.meta │ │ │ │ │ ├── IEventDispatcher.cs │ │ │ │ │ └── IEventDispatcher.cs.meta │ │ │ │ ├── impl.meta │ │ │ │ └── impl │ │ │ │ │ ├── EventBinding.cs │ │ │ │ │ ├── EventBinding.cs.meta │ │ │ │ │ ├── EventDispatcher.cs │ │ │ │ │ ├── EventDispatcher.cs.meta │ │ │ │ │ ├── EventDispatcherException.cs │ │ │ │ │ ├── EventDispatcherException.cs.meta │ │ │ │ │ ├── TmEvent.cs │ │ │ │ │ └── TmEvent.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── DispatcherException.cs │ │ │ │ └── DispatcherException.cs.meta │ │ ├── implicitBind.meta │ │ ├── implicitBind │ │ │ ├── ImplementorAttribute.cs │ │ │ ├── ImplementorAttribute.cs.meta │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── IImplicitBinder.cs │ │ │ │ └── IImplicitBinder.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── ImplicitBinder.cs │ │ │ │ └── ImplicitBinder.cs.meta │ │ ├── injector.meta │ │ ├── injector │ │ │ ├── InjectAttribute.cs │ │ │ ├── InjectAttribute.cs.meta │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── ICrossContextInjectionBinder.cs │ │ │ │ ├── ICrossContextInjectionBinder.cs.meta │ │ │ │ ├── IInjectionBinder.cs │ │ │ │ ├── IInjectionBinder.cs.meta │ │ │ │ ├── IInjectionBinding.cs │ │ │ │ ├── IInjectionBinding.cs.meta │ │ │ │ ├── IInjector.cs │ │ │ │ ├── IInjector.cs.meta │ │ │ │ ├── IInjectorFactory.cs │ │ │ │ ├── IInjectorFactory.cs.meta │ │ │ │ ├── InjectionBindingScope.cs │ │ │ │ ├── InjectionBindingScope.cs.meta │ │ │ │ ├── InjectionBindingType.cs │ │ │ │ ├── InjectionBindingType.cs.meta │ │ │ │ ├── InjectionExceptionType.cs │ │ │ │ └── InjectionExceptionType.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── CrossContextInjectionBinder.cs │ │ │ │ ├── CrossContextInjectionBinder.cs.meta │ │ │ │ ├── InjectionBinder.cs │ │ │ │ ├── InjectionBinder.cs.meta │ │ │ │ ├── InjectionBinding.cs │ │ │ │ ├── InjectionBinding.cs.meta │ │ │ │ ├── InjectionException.cs │ │ │ │ ├── InjectionException.cs.meta │ │ │ │ ├── Injector.cs │ │ │ │ ├── Injector.cs.meta │ │ │ │ ├── InjectorFactory.cs │ │ │ │ └── InjectorFactory.cs.meta │ │ ├── mediation.meta │ │ ├── mediation │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── IMediationBinder.cs │ │ │ │ ├── IMediationBinder.cs.meta │ │ │ │ ├── IMediationBinding.cs │ │ │ │ ├── IMediationBinding.cs.meta │ │ │ │ ├── IMediator.cs │ │ │ │ ├── IMediator.cs.meta │ │ │ │ ├── IView.cs │ │ │ │ ├── IView.cs.meta │ │ │ │ ├── MediationEvent.cs │ │ │ │ ├── MediationEvent.cs.meta │ │ │ │ ├── MediationExceptionType.cs │ │ │ │ └── MediationExceptionType.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── EventMediator.cs │ │ │ │ ├── EventMediator.cs.meta │ │ │ │ ├── EventView.cs │ │ │ │ ├── EventView.cs.meta │ │ │ │ ├── MediationBinder.cs │ │ │ │ ├── MediationBinder.cs.meta │ │ │ │ ├── MediationBinding.cs │ │ │ │ ├── MediationBinding.cs.meta │ │ │ │ ├── MediationException.cs │ │ │ │ ├── MediationException.cs.meta │ │ │ │ ├── Mediator.cs │ │ │ │ ├── Mediator.cs.meta │ │ │ │ ├── View.cs │ │ │ │ └── View.cs.meta │ │ ├── pool.meta │ │ ├── pool │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── IPool.cs │ │ │ │ ├── IPool.cs.meta │ │ │ │ ├── IPoolable.cs │ │ │ │ ├── IPoolable.cs.meta │ │ │ │ ├── PoolExceptionType.cs │ │ │ │ ├── PoolExceptionType.cs.meta │ │ │ │ ├── PoolInflationType.cs │ │ │ │ ├── PoolInflationType.cs.meta │ │ │ │ ├── PoolOverflowBehavior.cs │ │ │ │ └── PoolOverflowBehavior.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── Pool.cs │ │ │ │ ├── Pool.cs.meta │ │ │ │ ├── PoolException.cs │ │ │ │ └── PoolException.cs.meta │ │ ├── reflector.meta │ │ ├── reflector │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── IReflectedClass.cs │ │ │ │ ├── IReflectedClass.cs.meta │ │ │ │ ├── IReflectionBinder.cs │ │ │ │ ├── IReflectionBinder.cs.meta │ │ │ │ ├── ReflectionExceptionType.cs │ │ │ │ └── ReflectionExceptionType.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── ReflectedClass.cs │ │ │ │ ├── ReflectedClass.cs.meta │ │ │ │ ├── ReflectionBinder.cs │ │ │ │ ├── ReflectionBinder.cs.meta │ │ │ │ ├── ReflectionException.cs │ │ │ │ └── ReflectionException.cs.meta │ │ ├── sequencer.meta │ │ ├── sequencer │ │ │ ├── api.meta │ │ │ ├── api │ │ │ │ ├── ISequenceBinding.cs │ │ │ │ ├── ISequenceBinding.cs.meta │ │ │ │ ├── ISequenceCommand.cs │ │ │ │ ├── ISequenceCommand.cs.meta │ │ │ │ ├── ISequencer.cs │ │ │ │ ├── ISequencer.cs.meta │ │ │ │ ├── SequencerExceptionType.cs │ │ │ │ └── SequencerExceptionType.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ │ ├── EventSequenceCommand.cs │ │ │ │ ├── EventSequenceCommand.cs.meta │ │ │ │ ├── EventSequencer.cs │ │ │ │ ├── EventSequencer.cs.meta │ │ │ │ ├── SequenceBinding.cs │ │ │ │ ├── SequenceBinding.cs.meta │ │ │ │ ├── SequenceCommand.cs │ │ │ │ ├── SequenceCommand.cs.meta │ │ │ │ ├── Sequencer.cs │ │ │ │ ├── Sequencer.cs.meta │ │ │ │ ├── SequencerException.cs │ │ │ │ └── SequencerException.cs.meta │ │ ├── signal.meta │ │ └── signal │ │ │ ├── api.meta │ │ │ ├── api │ │ │ ├── IBaseSignal.cs │ │ │ ├── IBaseSignal.cs.meta │ │ │ ├── SignalExceptionType.cs │ │ │ └── SignalExceptionType.cs.meta │ │ │ ├── impl.meta │ │ │ └── impl │ │ │ ├── BaseSignal.cs │ │ │ ├── BaseSignal.cs.meta │ │ │ ├── Signal.cs │ │ │ ├── Signal.cs.meta │ │ │ ├── SignalException.cs │ │ │ └── SignalException.cs.meta │ ├── framework.meta │ └── framework │ │ ├── api.meta │ │ ├── api │ │ ├── BinderExceptionType.cs │ │ ├── BinderExceptionType.cs.meta │ │ ├── BindingConst.cs │ │ ├── BindingConst.cs.meta │ │ ├── BindingConstraintType.cs │ │ ├── BindingConstraintType.cs.meta │ │ ├── IBinder.cs │ │ ├── IBinder.cs.meta │ │ ├── IBinding.cs │ │ ├── IBinding.cs.meta │ │ ├── IInstanceProvider.cs │ │ ├── IInstanceProvider.cs.meta │ │ ├── IManagedList.cs │ │ ├── IManagedList.cs.meta │ │ ├── ISemiBinding.cs │ │ └── ISemiBinding.cs.meta │ │ ├── impl.meta │ │ └── impl │ │ ├── Binder.cs │ │ ├── Binder.cs.meta │ │ ├── BinderException.cs │ │ ├── BinderException.cs.meta │ │ ├── Binding.cs │ │ ├── Binding.cs.meta │ │ ├── SemiBinding.cs │ │ └── SemiBinding.cs.meta │ ├── strangerocks.meta │ ├── strangerocks │ ├── common.meta │ ├── common │ │ ├── config.meta │ │ ├── config │ │ │ ├── CommonSignal.cs │ │ │ ├── CommonSignal.cs.meta │ │ │ ├── SignalContext.cs │ │ │ ├── SignalContext.cs.meta │ │ │ ├── StrangeRocksElement.cs │ │ │ └── StrangeRocksElement.cs.meta │ │ ├── controller.meta │ │ ├── controller │ │ │ ├── ResourceInstanceProvider.cs │ │ │ └── ResourceInstanceProvider.cs.meta │ │ ├── util.meta │ │ ├── util │ │ │ ├── IRoutineRunner.cs │ │ │ ├── IRoutineRunner.cs.meta │ │ │ ├── IScreenUtil.cs │ │ │ ├── IScreenUtil.cs.meta │ │ │ ├── RoutineRunner.cs │ │ │ ├── RoutineRunner.cs.meta │ │ │ ├── ScreenUtil.cs │ │ │ └── ScreenUtil.cs.meta │ │ ├── view.meta │ │ └── view │ │ │ ├── ButtonMouseMediator.cs │ │ │ ├── ButtonMouseMediator.cs.meta │ │ │ ├── ButtonTouchMediator.cs │ │ │ ├── ButtonTouchMediator.cs.meta │ │ │ ├── ButtonView.cs │ │ │ └── ButtonView.cs.meta │ ├── game.meta │ ├── game │ │ ├── GameBootstrap.cs │ │ ├── GameBootstrap.cs.meta │ │ ├── config.meta │ │ ├── config │ │ │ ├── GameContext.cs │ │ │ ├── GameContext.cs.meta │ │ │ ├── GameElement.cs │ │ │ ├── GameElement.cs.meta │ │ │ ├── GameSignal.cs │ │ │ └── GameSignal.cs.meta │ │ ├── controller.meta │ │ ├── controller │ │ │ ├── EndGameCommand.cs │ │ │ ├── EndGameCommand.cs.meta │ │ │ ├── GameIndependentStartCommand.cs │ │ │ ├── GameIndependentStartCommand.cs.meta │ │ │ ├── GameModuleStartCommand.cs │ │ │ ├── GameModuleStartCommand.cs.meta │ │ │ ├── ISpawner.cs │ │ │ ├── ISpawner.cs.meta │ │ │ ├── StartGameCommand.cs │ │ │ ├── StartGameCommand.cs.meta │ │ │ ├── enemy.meta │ │ │ ├── enemy │ │ │ │ ├── CreateEnemyCommand.cs │ │ │ │ ├── CreateEnemyCommand.cs.meta │ │ │ │ ├── CreateEnemySpawnerCommand.cs │ │ │ │ ├── CreateEnemySpawnerCommand.cs.meta │ │ │ │ ├── DestroyEnemyCommand.cs │ │ │ │ ├── DestroyEnemyCommand.cs.meta │ │ │ │ ├── EnemySpawner.cs │ │ │ │ └── EnemySpawner.cs.meta │ │ │ ├── input.meta │ │ │ ├── input │ │ │ │ ├── GameInputEvent.cs │ │ │ │ ├── GameInputEvent.cs.meta │ │ │ │ ├── IInput.cs │ │ │ │ ├── IInput.cs.meta │ │ │ │ ├── KeyboardInput.cs │ │ │ │ ├── KeyboardInput.cs.meta │ │ │ │ ├── NullInput.cs │ │ │ │ └── NullInput.cs.meta │ │ │ ├── level.meta │ │ │ ├── level │ │ │ │ ├── CleanupLevelCommand.cs │ │ │ │ ├── CleanupLevelCommand.cs.meta │ │ │ │ ├── CreateGameFieldCommand.cs │ │ │ │ ├── CreateGameFieldCommand.cs.meta │ │ │ │ ├── LevelEndCommand.cs │ │ │ │ ├── LevelEndCommand.cs.meta │ │ │ │ ├── SetupLevelCommand.cs │ │ │ │ ├── SetupLevelCommand.cs.meta │ │ │ │ ├── StartLevelCommand.cs │ │ │ │ └── StartLevelCommand.cs.meta │ │ │ ├── missile.meta │ │ │ ├── missile │ │ │ │ ├── DestroyMissileCommand.cs │ │ │ │ ├── DestroyMissileCommand.cs.meta │ │ │ │ ├── FireMissileCommand.cs │ │ │ │ ├── FireMissileCommand.cs.meta │ │ │ │ ├── MissileHitCommand.cs │ │ │ │ └── MissileHitCommand.cs.meta │ │ │ ├── player.meta │ │ │ ├── player │ │ │ │ ├── CreatePlayerCommand.cs │ │ │ │ ├── CreatePlayerCommand.cs.meta │ │ │ │ ├── DestroyPlayerCommand.cs │ │ │ │ └── DestroyPlayerCommand.cs.meta │ │ │ ├── rock.meta │ │ │ └── rock │ │ │ │ ├── CreateRockCommand.cs │ │ │ │ ├── CreateRockCommand.cs.meta │ │ │ │ ├── DestroyRockCommand.cs │ │ │ │ └── DestroyRockCommand.cs.meta │ │ ├── model.meta │ │ ├── model │ │ │ ├── GameConfig.cs │ │ │ ├── GameConfig.cs.meta │ │ │ ├── GameModel.cs │ │ │ ├── GameModel.cs.meta │ │ │ ├── IGameConfig.cs │ │ │ ├── IGameConfig.cs.meta │ │ │ ├── IGameModel.cs │ │ │ └── IGameModel.cs.meta │ │ ├── view.meta │ │ └── view │ │ │ ├── EnemyMediator.cs │ │ │ ├── EnemyMediator.cs.meta │ │ │ ├── EnemyMissileMediator.cs │ │ │ ├── EnemyMissileMediator.cs.meta │ │ │ ├── EnemyMissileView.cs │ │ │ ├── EnemyMissileView.cs.meta │ │ │ ├── EnemyView.cs │ │ │ ├── EnemyView.cs.meta │ │ │ ├── ExplosionMediator.cs │ │ │ ├── ExplosionMediator.cs.meta │ │ │ ├── ExplosionView.cs │ │ │ ├── ExplosionView.cs.meta │ │ │ ├── GameDebugMediator.cs │ │ │ ├── GameDebugMediator.cs.meta │ │ │ ├── GameDebugView.cs │ │ │ ├── GameDebugView.cs.meta │ │ │ ├── MissileExplosionMediator.cs │ │ │ ├── MissileExplosionMediator.cs.meta │ │ │ ├── MissileExplosionView.cs │ │ │ ├── MissileExplosionView.cs.meta │ │ │ ├── MissileMediator.cs │ │ │ ├── MissileMediator.cs.meta │ │ │ ├── MissileView.cs │ │ │ ├── MissileView.cs.meta │ │ │ ├── RockMediator.cs │ │ │ ├── RockMediator.cs.meta │ │ │ ├── RockView.cs │ │ │ ├── RockView.cs.meta │ │ │ ├── ShipMediator.cs │ │ │ ├── ShipMediator.cs.meta │ │ │ ├── ShipView.cs │ │ │ └── ShipView.cs.meta │ ├── main.meta │ ├── main │ │ ├── MainBootstrap.cs │ │ ├── MainBootstrap.cs.meta │ │ ├── config.meta │ │ ├── config │ │ │ ├── MainContext.cs │ │ │ └── MainContext.cs.meta │ │ ├── controller.meta │ │ └── controller │ │ │ ├── MainStartupCommand.cs │ │ │ └── MainStartupCommand.cs.meta │ ├── ui.meta │ └── ui │ │ ├── UIBootstrap.cs │ │ ├── UIBootstrap.cs.meta │ │ ├── config.meta │ │ ├── config │ │ ├── UIContext.cs │ │ └── UIContext.cs.meta │ │ ├── controller.meta │ │ ├── controller │ │ ├── UIStartCommand.cs │ │ └── UIStartCommand.cs.meta │ │ ├── view.meta │ │ └── view │ │ ├── EndGameMediator.cs │ │ ├── EndGameMediator.cs.meta │ │ ├── EndGamePanelView.cs │ │ ├── EndGamePanelView.cs.meta │ │ ├── HUDMediator.cs │ │ ├── HUDMediator.cs.meta │ │ ├── HUDView.cs │ │ ├── HUDView.cs.meta │ │ ├── IdlePanelMediator.cs │ │ ├── IdlePanelMediator.cs.meta │ │ ├── IdlePanelView.cs │ │ ├── IdlePanelView.cs.meta │ │ ├── OnscreenControlsMediator.cs │ │ ├── OnscreenControlsMediator.cs.meta │ │ ├── OnscreenControlsView.cs │ │ ├── OnscreenControlsView.cs.meta │ │ ├── StartLevelMediator.cs │ │ ├── StartLevelMediator.cs.meta │ │ ├── StartLevelPanelView.cs │ │ └── StartLevelPanelView.cs.meta │ ├── thirdparty.meta │ └── thirdparty │ ├── SimpleJSON.cs │ └── SimpleJSON.cs.meta ├── Library ├── AnnotationManager ├── AssetImportState ├── AssetServerCacheV3 ├── AssetVersioning.db ├── BuildPlayer.prefs ├── BuildSettings.asset ├── CurrentLayout.dwlt ├── CurrentMaximizeLayout.dwlt ├── EditorUserBuildSettings.asset ├── EditorUserSettings.asset ├── FailedAssetImports.txt ├── InspectorExpandedItems.asset ├── MonoManager.asset ├── ProjectSettings.asset ├── ScriptAssemblies │ ├── Assembly-CSharp.dll │ ├── Assembly-CSharp.dll.mdb │ └── CompilationCompleted.txt ├── ScriptMapper ├── assetDatabase3 ├── expandedItems └── guidmapper ├── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── QualitySettings.asset ├── TagManager.asset └── TimeManager.asset ├── StrangeRocks-csharp.sln ├── StrangeRocks-csharp.userprefs ├── StrangeRocks.sln ├── StrangeRocks.userprefs ├── bin └── android.apk └── obj └── Debug ├── Assembly-CSharp.csproj.FilesWrittenAbsolute.txt ├── Assembly-CSharp.dll └── Assembly-CSharp.dll.mdb /.gitignore: -------------------------------------------------------------------------------- 1 | StrangeRocks/StrangeRocks.userprefs 2 | StrangeRocks/Library/metadata 3 | StrangeRocks/Library 4 | StrangeRocks/Temp 5 | StrangeRocks/obj 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | strangerocks 2 | ============ 3 | 4 | Demo game to show off many features of StrangeIoC 5 | 6 | StrangeIoC repo: 7 | https://github.com/thirdmotion/strangeioc 8 | 9 | Website: 10 | http://thirdmotion.github.io/strangeioc/ 11 | 12 | Blog: 13 | http://strangeioc.wordpress.com/ 14 | 15 | Follow the project on Facebook/Twitter: @StrangeIoC 16 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7993d9cbf694c44558e2f7780768cb9b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5caa485ec1f2547668aa77bbbce28988 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a42643155f7c448396a791fbd81b556 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/enemy_bubble_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/game/enemy_bubble_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/enemy_bubble_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d3c58a2e8ddb4b798498ff62ee188d4 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/enemy_fuselage_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/game/enemy_fuselage_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/enemy_fuselage_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ac8b4f620aea4fb8966f76b5c3f6c45 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/rock_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/game/rock_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/rock_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66972b53d263b43d48b1ec8abbd28ac1 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/ship_fins_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/game/ship_fins_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/ship_fins_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f74d17e0f5a344fb83a453e61ef2ef9 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/ship_fuselage_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/game/ship_fuselage_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/ship_fuselage_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1f5579d70ba5443a8e79e9e357f34d3 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/user_tile_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/game/user_tile_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/game/user_tile_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8635d0560443c42c38e290c7bfef96c2 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/missile_icon.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/missile_icon.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/missile_icon.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4214a6066f2f44c38bc4c29d7a49690a 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/rotate_left_icon.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/rotate_left_icon.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/rotate_left_icon.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71424a8c55dae4559b761c37752cac45 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/rotate_right_icon.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/rotate_right_icon.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/rotate_right_icon.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9609988ab5a24b39bdef6e7319c1162 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/thrust_icon.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/thrust_icon.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/thrust_icon.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c172f17a49f8c4910a0117a658af193c 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5523d134ac9604804b6ca906fee3421a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/default_button_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/ui/default_button_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/default_button_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8eee1576fa2343118397d472f87deb1 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/fire_button_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/ui/fire_button_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/fire_button_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 452ee3065af614e64af87f76dade6c51 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/panel_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/ui/panel_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/panel_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9c6da7b467774e23a47e36f443c3458 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/rotate_left_button_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/ui/rotate_left_button_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/rotate_left_button_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4be86b60e0fda40a6b6a267010102917 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/rotate_right_button_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/ui/rotate_right_button_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/rotate_right_button_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 777345dc139ed411b9f1174c92df9c91 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/thrust_button_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/materials/ui/thrust_button_mat.mat -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/materials/ui/thrust_button_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e66bf01efa764b40a0b795d83b42493 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ec81afe603ee4220b82cb2f0a867a80 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/prefabs/disc_button.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/prefabs/disc_button.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/prefabs/disc_button.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c97bbc0f58ea749dba361b24a893a683 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/prefabs/start_button.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/prefabs/start_button.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/prefabs/start_button.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce36437a739144cb1b27912e046aa2eb 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 743094fe13c914371beacf5260ccc4f5 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/scenes/game.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/scenes/game.unity -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/scenes/game.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3896446916d0e473e8eec0c7f9b7a417 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/scenes/main.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/scenes/main.unity -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/scenes/main.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f594d6e534b3a499497569b8e4603a8a 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/scenes/ui.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/scenes/ui.unity -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/scenes/ui.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0800ca8b557a943b28c513b35bf91c3e 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5970b57aece1458fa228d93daf64aff 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/missile_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/textures/missile_icon.png -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/missile_icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ad9272e9bc0b41eb84fb1490a77551e 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 256 25 | textureSettings: 26 | filterMode: 2 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 0 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spritePixelsToUnits: 100 39 | alphaIsTransparency: 0 40 | textureType: -1 41 | buildTargetSettings: [] 42 | spriteSheet: 43 | sprites: [] 44 | spritePackingTag: 45 | userData: 46 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/rock_texture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/textures/rock_texture.jpg -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/rock_texture.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dacfd5bf4ef574f2d8b6bc1937cabe35 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/rotate_left_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/textures/rotate_left_icon.png -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/rotate_left_icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b4b2fc772c954ef0a15a00f82e4eecb 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 256 25 | textureSettings: 26 | filterMode: 2 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 0 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spritePixelsToUnits: 100 39 | alphaIsTransparency: 0 40 | textureType: -1 41 | buildTargetSettings: [] 42 | spriteSheet: 43 | sprites: [] 44 | spritePackingTag: 45 | userData: 46 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/rotate_right_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/textures/rotate_right_icon.png -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/rotate_right_icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7553c5e80536b448e999066ddb0c3532 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -1 24 | maxTextureSize: 256 25 | textureSettings: 26 | filterMode: 2 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 0 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spritePixelsToUnits: 100 39 | alphaIsTransparency: 0 40 | textureType: -1 41 | buildTargetSettings: [] 42 | spriteSheet: 43 | sprites: [] 44 | spritePackingTag: 45 | userData: 46 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/thrust_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/art/textures/thrust_icon.png -------------------------------------------------------------------------------- /StrangeRocks/Assets/art/textures/thrust_icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7b79e49e6b5740c5b65491623e93fc2 3 | TextureImporter: 4 | serializedVersion: 2 5 | mipmaps: 6 | mipMapMode: 0 7 | enableMipMap: 1 8 | linearTexture: 0 9 | correctGamma: 0 10 | fadeOut: 0 11 | borderMipMap: 0 12 | mipMapFadeDistanceStart: 1 13 | mipMapFadeDistanceEnd: 3 14 | bumpmap: 15 | convertToNormalMap: 0 16 | externalNormalMap: 0 17 | heightScale: .25 18 | normalMapFilter: 0 19 | isReadable: 0 20 | grayScaleToAlpha: 0 21 | generateCubemap: 0 22 | seamlessCubemap: 0 23 | textureFormat: -3 24 | maxTextureSize: 256 25 | textureSettings: 26 | filterMode: 2 27 | aniso: -1 28 | mipBias: -1 29 | wrapMode: 1 30 | nPOTScale: 1 31 | lightmap: 0 32 | compressionQuality: 50 33 | spriteMode: 0 34 | spriteExtrude: 1 35 | spriteMeshType: 1 36 | alignment: 0 37 | spritePivot: {x: .5, y: .5} 38 | spritePixelsToUnits: 100 39 | alphaIsTransparency: 0 40 | textureType: -1 41 | buildTargetSettings: [] 42 | spriteSheet: 43 | sprites: [] 44 | spritePackingTag: 45 | userData: 46 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb65e02865799487ca78dcc880646b82 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/enemy.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/resources/enemy.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/enemy.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9aff49003bb0498f99d4e3580b9d383 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/enemy_missile.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/resources/enemy_missile.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/enemy_missile.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fdc5e677b461042dc84e708905eabb64 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/gameConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "initLives": 3, 3 | "newLifeEvery":1000, 4 | "maxLives":9, 5 | "initRocks":3, 6 | "additionalRocksPerLevel":2, 7 | "baseRockScore":10, 8 | "rockExplosiveForceMin":800, 9 | "rockExplosiveForceMax":1000, 10 | "rockExplosiveForceRadius":100, 11 | "enemySpawnSecondsMin":1, 12 | "enemySpawnSecondsMax":3, 13 | "baseEnemyScore":100 14 | } -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/gameConfig.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 872788e3c906440b9ab67f501a5677f3 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/missile.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/resources/missile.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/missile.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e0925b60654b413fbf9fb5b3364c708 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/missile_explosion.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/resources/missile_explosion.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/missile_explosion.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 673fcf21a3411493490f2098b19da9a9 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/player_explosion.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/resources/player_explosion.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/player_explosion.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7808b5f7c56a4cb88296182674e0110 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/player_ship.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/resources/player_ship.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/player_ship.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5d11049925f94a43aee6ced08e582df 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/rock.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Assets/resources/rock.prefab -------------------------------------------------------------------------------- /StrangeRocks/Assets/resources/rock.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32028d8c03df94651bff9c1fd5fe20c8 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6776cd3b059049569a28ebf8b64e2e4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a6d19c7c999140b9971aacac9caaa6b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .DS_Store 3 | desktop.ini 4 | *.cache 5 | *.svn 6 | 7 | tests/* 8 | Library/* 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/extensions/eventdispatcher/TestEventCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using NUnit.Framework; 3 | 4 | namespace strange.unittests 5 | { 6 | [TestFixture()] 7 | public class TestEventCommand 8 | { 9 | [Test()] 10 | public void TestCase () 11 | { 12 | } 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/AbstractClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | abstract public class AbstractClass 6 | { 7 | //No constructor 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/CircularDependencyOne.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class CircularDependencyOne 6 | { 7 | [Inject] 8 | public CircularDependencyTwo depends{ get; set;} 9 | 10 | public CircularDependencyOne () 11 | { 12 | } 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/CircularDependencyTwo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class CircularDependencyTwo 6 | { 7 | [Inject] 8 | public CircularDependencyOne depends{ get; set;} 9 | 10 | public CircularDependencyTwo () 11 | { 12 | } 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/ClassToBeInjected.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class ClassToBeInjected 6 | { 7 | public ClassToBeInjected () 8 | { 9 | } 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/ClassWithConstructorParameters.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class ClassWithConstructorParameters : ISimpleInterface 6 | { 7 | private int _intValue; 8 | private string _stringValue; 9 | 10 | //Two constructors. One is tagged to be the constructor used during injection 11 | public ClassWithConstructorParameters () 12 | { 13 | } 14 | 15 | [Construct] 16 | public ClassWithConstructorParameters (int intValue, string stringValue) 17 | { 18 | this._intValue = intValue; 19 | this._stringValue = stringValue; 20 | } 21 | 22 | [Deconstruct] 23 | public void DeConstruct () 24 | { 25 | this._intValue = 0; 26 | } 27 | 28 | public int intValue 29 | { 30 | get 31 | { 32 | return _intValue; 33 | } 34 | set 35 | { 36 | _intValue = value; 37 | } 38 | } 39 | 40 | public string stringValue 41 | { 42 | get 43 | { 44 | return _stringValue; 45 | } 46 | set 47 | { 48 | _stringValue = value; 49 | } 50 | } 51 | } 52 | } 53 | 54 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/ClassWithConstructorParametersOnlyOneConstructor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class ClassWithConstructorParametersOnlyOneConstructor 6 | { 7 | private string _stringVal; 8 | public string stringVal 9 | { 10 | get 11 | { 12 | return _stringVal; 13 | } 14 | } 15 | 16 | public ClassWithConstructorParametersOnlyOneConstructor (string stringVal) 17 | { 18 | _stringVal = stringVal; 19 | } 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/AsynchCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Timers; 3 | using strange.extensions.command.impl; 4 | 5 | namespace strange.unittests 6 | { 7 | public class AsynchCommand : Command 8 | { 9 | [Inject] 10 | public Timer timer{ get; set;} 11 | 12 | public override void Execute () 13 | { 14 | Retain (); 15 | timer.Elapsed += new ElapsedEventHandler(onTimerElapsed); 16 | timer.Interval = 100; 17 | } 18 | 19 | private void onTimerElapsed(object source, ElapsedEventArgs e) 20 | { 21 | throw new Exception ("That worked"); 22 | } 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.command.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class CommandThrowsErrorIfEventIsNull : EventCommand 7 | { 8 | public static int timesExecuted = 0; 9 | 10 | public static int result; 11 | 12 | public override void Execute () 13 | { 14 | if (evt == null) 15 | { 16 | throw new Exception ("CommandThrowsErrorIfEventIsNull had a null event"); 17 | } 18 | timesExecuted++; 19 | 20 | int evtData = (int) evt.data; 21 | result = evtData * 2; 22 | } 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class CommandThrowsErrorIfEventIsNull2 : CommandThrowsErrorIfEventIsNull 6 | { 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/CommandThrowsErrorIfEventIsNull3.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class CommandThrowsErrorIfEventIsNull3 : CommandThrowsErrorIfEventIsNull 6 | { 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/CommandWithExecute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.command.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class CommandWithExecute : Command 7 | { 8 | public override void Execute () 9 | { 10 | if (true) 11 | { 12 | 13 | } 14 | } 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/CommandWithInjection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.command.api; 3 | using strange.extensions.command.impl; 4 | 5 | namespace strange.unittests 6 | { 7 | public class CommandWithInjection : Command 8 | { 9 | [Inject] 10 | public ISimpleInterface injected{get; set;} 11 | 12 | override public void Execute() 13 | { 14 | injected.intValue = 100; 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/CommandWithInjectionAndSignal.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.signal.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class CommandWithInjectionAndSignal : CommandWithInjection 7 | { 8 | [Inject] 9 | public Signal signal { get; set;} 10 | 11 | override public void Execute() 12 | { 13 | injected.intValue = 100; 14 | signal.Dispatch (injected as SimpleInterfaceImplementer); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/CommandWithInjectionPlusSignalPayload.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.command.api; 3 | using strange.extensions.command.impl; 4 | 5 | namespace strange.unittests 6 | { 7 | public class CommandWithInjectionPlusSignalPayload : Command 8 | { 9 | [Inject] 10 | public ISimpleInterface injected{get; set;} 11 | 12 | [Inject] 13 | public int intValue { get; set; } 14 | 15 | override public void Execute() 16 | { 17 | injected.intValue = 100; 18 | } 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/CommandWithoutExecute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.command.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class CommandWithoutExecute : Command 7 | { 8 | public CommandWithoutExecute () 9 | { 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/FailCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.command.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class FailCommand : Command 7 | { 8 | public override void Execute () 9 | { 10 | Fail (); 11 | } 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/Commands/MarkablePoolCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.command.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class MarkablePoolCommand : Command 7 | { 8 | public static int incrementValue = 0; 9 | 10 | 11 | public override void Execute () 12 | { 13 | incrementValue++; 14 | } 15 | } 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/ConstructorInjectsClassToBeInjected.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace strange.unittests 3 | { 4 | public class ConstructorInjectsClassToBeInjected 5 | { 6 | public ClassToBeInjected injected; 7 | public ConstructorInjectsClassToBeInjected (ClassToBeInjected injected) 8 | { 9 | this.injected = injected; 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/GuaranteedUniqueInstances.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class GuaranteedUniqueInstances 6 | { 7 | public int uid{ get; set;} 8 | 9 | private static int counter = 0; 10 | 11 | public GuaranteedUniqueInstances () 12 | { 13 | uid = ++counter; 14 | } 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/HasNamedInjections.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class HasNamedInjections 6 | { 7 | [Inject(SomeEnum.ONE)] 8 | public InjectableSuperClass injectionOne{ get; set;} 9 | 10 | [Inject(typeof(MarkerClass))] 11 | public InjectableSuperClass injectionTwo{ get; set;} 12 | 13 | 14 | public HasNamedInjections () 15 | { 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/HasTwoInjections.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class HasTwoInjections 6 | { 7 | [Inject] 8 | public InjectableSuperClass injectionOne{ get; set;} 9 | 10 | [Inject] 11 | public string injectionTwo{ get; set;} 12 | 13 | 14 | public HasTwoInjections () 15 | { 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/IAnotherSimpleInterface.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public interface IAnotherSimpleInterface 6 | { 7 | string stringValue{ get; set;} 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/ISimpleInterface.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public interface ISimpleInterface 6 | { 7 | int intValue{ get; set;} 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/InjectableDerivedClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics; 3 | 4 | namespace strange.unittests 5 | { 6 | public class InjectableDerivedClass : InjectableSuperClass 7 | { 8 | [Inject] 9 | public ClassToBeInjected injected{get;set;} 10 | 11 | 12 | 13 | public InjectableDerivedClass () 14 | { 15 | } 16 | 17 | [PostConstruct] 18 | public void postConstruct1() 19 | { 20 | Console.Write ("Calling post construct 1\n"); 21 | } 22 | 23 | [PostConstruct] 24 | public void postConstruct2() 25 | { 26 | Console.Write ("Calling post construct 2"); 27 | } 28 | 29 | public void notAPostConstruct() 30 | { 31 | Console.Write ("notAPostConstruct :: SHOULD NOT CALL THIS!"); 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/InjectableSuperClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class InjectableSuperClass 6 | { 7 | public float floatValue{get;set;} 8 | 9 | [Inject] 10 | public int intValue{get;set;} 11 | 12 | public InjectableSuperClass () 13 | { 14 | } 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/InjectsPostConstructSimple.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class InjectsPostConstructSimple 6 | { 7 | [Inject] 8 | public PostConstructSimple pcs{get;set;} 9 | 10 | public InjectsPostConstructSimple () 11 | { 12 | } 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/MarkerClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class MarkerClass 6 | { 7 | public MarkerClass () 8 | { 9 | } 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/MultipleConstructorsOneThreeFour.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class MultipleConstructorsOneThreeFour 6 | { 7 | public int intValue; 8 | public string stringValue; 9 | public ISimpleInterface simple; 10 | 11 | public MultipleConstructorsOneThreeFour () 12 | { 13 | throw new Exception ("The empty constructor in MultipleConstructorsOneThreeFour shouldn't be called."); 14 | } 15 | 16 | [Construct] 17 | public MultipleConstructorsOneThreeFour (ISimpleInterface simple, int intValue, string stringValue) 18 | { 19 | this.simple = simple; 20 | this.intValue = intValue; 21 | this.stringValue = stringValue; 22 | } 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/NonpublicInjection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class NonpublicInjection 6 | { 7 | [Inject] 8 | public InjectableSuperClass injectionOne{ get; set;} 9 | 10 | // Oops! Forgot to mark as public 11 | [Inject] 12 | string injectionTwo{ get; set;} 13 | 14 | 15 | public NonpublicInjection () 16 | { 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/PolymorphicClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class PolymorphicClass : ISimpleInterface, IAnotherSimpleInterface 6 | { 7 | public PolymorphicClass () 8 | { 9 | } 10 | 11 | #region ISimpleInterface implementation 12 | 13 | public int intValue { get; set;} 14 | 15 | #endregion 16 | 17 | #region IAnotherSimpleInterface implementation 18 | 19 | public string stringValue { get; set;} 20 | 21 | #endregion 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/PostConstructClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class PostConstructClass 6 | { 7 | [Inject] 8 | public float floatVal{ get; set;} 9 | 10 | public PostConstructClass () 11 | { 12 | } 13 | 14 | [PostConstruct] 15 | public void MultiplyBy2() 16 | { 17 | floatVal *= 2f; 18 | } 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/PostConstructSeveralOrdered.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class PostConstructSeveralOrdered 6 | { 7 | public string stringVal{ get; set;} 8 | 9 | public PostConstructSeveralOrdered () 10 | { 11 | } 12 | 13 | [PostConstruct(1)] 14 | public void FirstPC() 15 | { 16 | stringVal += "Z"; 17 | } 18 | 19 | [PostConstruct(6)] 20 | public void SixthPC() 21 | { 22 | stringVal += "D"; 23 | } 24 | 25 | [PostConstruct(3)] 26 | public void ThirdPC() 27 | { 28 | stringVal += "P"; 29 | } 30 | 31 | [PostConstruct(4)] 32 | public void FourthPC() 33 | { 34 | stringVal += "H"; 35 | } 36 | 37 | [PostConstruct(2)] 38 | public void SecondPC() 39 | { 40 | stringVal += "A"; 41 | } 42 | 43 | [PostConstruct(5)] 44 | public void FifthPC() 45 | { 46 | stringVal += "O"; 47 | } 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/PostConstructSimple.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class PostConstructSimple 6 | { 7 | public static int PostConstructCount{ get; set;} 8 | 9 | public PostConstructSimple () 10 | { 11 | } 12 | 13 | [PostConstruct] 14 | public void MultiplyBy2() 15 | { 16 | PostConstructCount ++; 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/PostConstructTwo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class PostConstructTwo 6 | { 7 | [Inject] 8 | public float floatVal{ get; set;} 9 | 10 | public PostConstructTwo () 11 | { 12 | } 13 | 14 | [PostConstruct] 15 | public void MultiplyBy2() 16 | { 17 | floatVal *= 2f; 18 | } 19 | 20 | [PostConstruct] 21 | public void MultiplyBy2Again() 22 | { 23 | floatVal *= 2f; 24 | } 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/SequenceCommands/SequenceCommandWithExecute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.sequencer.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class SequenceCommandWithExecute : SequenceCommand 7 | { 8 | public override void Execute () 9 | { 10 | if (true) 11 | { 12 | 13 | } 14 | } 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/SequenceCommands/SequenceCommandWithInjection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.sequencer.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class SequenceCommandWithInjection : SequenceCommand 7 | { 8 | [Inject] 9 | public ISimpleInterface injected{get; set;} 10 | 11 | override public void Execute() 12 | { 13 | injected.intValue = 100; 14 | } 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/SequenceCommands/SequenceCommandWithoutExecute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.sequencer.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class SequenceCommandWithoutExecute : SequenceCommand 7 | { 8 | public SequenceCommandWithoutExecute () 9 | { 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/SequenceCommands/SequenceInterruptingCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.sequencer.impl; 3 | 4 | namespace strange.unittests 5 | { 6 | public class SequenceInterruptingCommand : SequenceCommand 7 | { 8 | public override void Execute () 9 | { 10 | Fail (); 11 | } 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/SimpleInterfaceImplementer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class SimpleInterfaceImplementer : ISimpleInterface 6 | { 7 | public int intValue{ get; set;} 8 | 9 | public SimpleInterfaceImplementer () 10 | { 11 | } 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/SimpleInterfaceImplementerTwo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class SimpleInterfaceImplementerTwo : ISimpleInterface 6 | { 7 | [Inject] 8 | public int intValue{ get; set;} 9 | 10 | public SimpleInterfaceImplementerTwo () 11 | { 12 | } 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/SomeEnum.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public enum SomeEnum 6 | { 7 | ONE, 8 | TWO, 9 | THREE, 10 | FOUR 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/.tests/testPayloads/TestException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.unittests 4 | { 5 | public class TestException :Exception 6 | { 7 | public TestException () 8 | { 9 | } 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/README.md: -------------------------------------------------------------------------------- 1 | strange-core 2 | ============ 3 | 4 | StrangeIoC. 5 | v0.7.0 6 | Just the code. 7 | 8 | The full StrangeIoC repo is at: 9 | https://github.com/thirdmotion/strangeioc 10 | 11 | Documentation and helpful goodies: 12 | http://thirdmotion.github.io/strangeioc/ 13 | 14 | Follow us on Facebook... 15 | https://www.facebook.com/strangeioc 16 | ...or Twitter... 17 | @StrangeIoC 18 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f933e850ff4ee0438dac44bde3162c0 3 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/ReadMe.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d2409ad38af242bb904817c38db4cfe 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb68dc549d9524bc69f893aab3fc8202 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/ReadMe.txt: -------------------------------------------------------------------------------- 1 | Copyright 2013 ThirdMotion, Inc. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | 15 | =========================================================================== 16 | 17 | Extensions build out core binding behavior into concrete implementations for specific functionality. 18 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/ReadMe.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8df3d533df4a4af1b023a93956bd133 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c813cdcd8c082413c9e2c3cd353eb5f6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e0ccaf78986a43ffa80631e0e588dc1 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/api/CommandExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfa5187f5b8164f8fbd9aab975ffdb15 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/api/CommandKeys.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.command.api 20 | { 21 | public enum CommandKeys 22 | { 23 | /// Temporary marker for any pool instantiated by the CommandBinder 24 | COMMAND_POOL 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/api/CommandKeys.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfd7bb64112874fa3bf9e55f776b20cb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/api/ICommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2217e29b65602424f84300baa5629bff 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/api/ICommandBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8eaf0c4207354c8db8e905751fa38bc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/api/ICommandBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b128cf29800844f8be2e3e490eceae2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/api/IPooledCommandBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0720c91bda6a94246a3d026418d041f4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e240d87fa271141dfa95d5fc097e62eb 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/impl/Command.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8be30f13bb6944c27914880cc48c14b2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/impl/CommandBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afb4aa8d64a76412fb18c725524abb44 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/impl/CommandBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 694ee0f55c0b64d70bb32f72c5aba227 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/impl/CommandException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6f1da31c3510470d8fbf1a97a278334 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/impl/EventCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f772740bc64fe463db206577ec851472 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/impl/EventCommandBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bf2fd13a3c7a4f2ea3b5658f0ba709d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/command/impl/SignalCommandBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 003f39ba6cfdb4c448ddea0f15641bf0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47e8a71ad316a4651bab8007bc46ba7a 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e054b1bb14dfc4f1aaf02222faae31c6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/ContextEvent.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | 19 | using System; 20 | 21 | namespace strange.extensions.context.api 22 | { 23 | public enum ContextEvent 24 | { 25 | /// Fires immediately on conclusion of Context bootstrapping. Map this to your first Command. 26 | START 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/ContextEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f52d128f71234b71a75dfeb633f0e77 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/ContextExceptionType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.context.api 20 | { 21 | public enum ContextExceptionType 22 | { 23 | /// MVCSContext requires a root ContextView 24 | NO_CONTEXT_VIEW, 25 | /// MVCSContext requires a mediationBinder 26 | NO_MEDIATION_BINDER 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/ContextExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ac495f8af6c3414780db54cb99cc4af 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/ContextKeys.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.context.api 20 | { 21 | public enum ContextKeys 22 | { 23 | /// Marker for the named Injection of the Context 24 | CONTEXT, 25 | /// Marker for the named Injection of the ContextView 26 | CONTEXT_VIEW, 27 | /// Marker for the named Injection of the contextDispatcher 28 | CONTEXT_DISPATCHER, 29 | /// Marker for the named Injection of the crossContextDispatcher 30 | CROSS_CONTEXT_DISPATCHER 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/ContextKeys.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ceb12f9c9f9a848c7bab84c763fd28ff 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/ContextStartupFlags.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb19a5d5ac9d24002a82e57ad253e1f0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/IContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9479e02c60412419e84fb2df75c8f025 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/IContextView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c68e0c3037f54431b988f2ee134ea6dd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/api/ICrossContextCapable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 676a10f78f94d5445969f02034cee836 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7339b6972300943ee8ac15bca294ba7d 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/impl/Context.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1638150ab9b445a4b7461c63a88dff3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/impl/ContextException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ff0decc0ecce426d867b8aa031a6c9e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/impl/ContextView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6c85151ef7944c449ec2a52775e8dac 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/impl/CrossContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 687e18e3acf4e1c4e94f473e74acc4f7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/impl/CrossContextBridge.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ad57614074623e4b87222f1c883fef5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/context/impl/MVCSContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7857ad23dbc444fe3b594ef197560ace 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 243e552081ca8486dbd071c56083436a 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6d94043971874374b52ae76ed73c2ec 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/api/DispatcherExceptionType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.dispatcher.api 20 | { 21 | public enum DispatcherExceptionType 22 | { 23 | /// Injector Factory not found 24 | NULL_FACTORY, 25 | 26 | /// Callback must be a Delegate with zero or one argument 27 | ILLEGAL_CALLBACK_HANDLER 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/api/DispatcherExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9e1ac11122f043ca9d4b4f2b5ea5c9a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/api/IDispatcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb7c75b9afd4e47699dc661a5aec5da4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/api/ITriggerProvider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73ba5167108cf40488d50898b09fd20a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/api/ITriggerable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9415d1be31d984e09ab45b89f83b7b52 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd4d873536da5462dbb562969faf6e8b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83cabb7d9d57e415680c7185118e7f49 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/api/EventCallbackType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.dispatcher.eventdispatcher.api 20 | { 21 | public enum EventCallbackType 22 | { 23 | /// Indicates an EventCallback with no arguments 24 | NO_ARGUMENTS, 25 | /// Indicates an EventCallback with one argument 26 | ONE_ARGUMENT, 27 | /// Indicates no matching EventCallback could be found 28 | NOT_FOUND 29 | } 30 | } 31 | 32 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/api/EventCallbackType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b595bfc5f292e4dc2ae6cd2fb2a4f015 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/api/EventDispatcherExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e33237252a62f48f08e45c6b32ebeb74 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/api/IEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3a5a3043fb324e2dbc07e51405198de 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/api/IEventBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7940c40bb64149298392ac4e45f356f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/api/IEventDispatcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45fc9f36514df4d02acc2e454a9cff3c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 038568446b7ba45d9813a52ac1ebf5e9 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/impl/EventBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfca0e8f11d444b20bb9509310bc97f2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/impl/EventDispatcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf074b4624c8540358be79a237518a7a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/impl/EventDispatcherException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 105d2440038c6447d888ec8031b92651 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/eventdispatcher/impl/TmEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a49b5e0eab7f64bd2be34340aa561d61 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c266ba3d2c0f846b69ba07a74ba2f08e 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/dispatcher/impl/DispatcherException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 690c1f6f3a4e749a0af20a7b610bdbb3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/implicitBind.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8dbcb96809c97a740b2708b42431f7a4 3 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/implicitBind/ImplementorAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2877e8a9e13950d42a5f0a467f4db639 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/implicitBind/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7be89d2b004935945964f1afd73e4f4d 3 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/implicitBind/api/IImplicitBinder.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using strange.extensions.mediation.api; 18 | 19 | namespace strange.extensions.implicitBind.api 20 | { 21 | public interface IImplicitBinder 22 | { 23 | /// 24 | /// Search through indicated namespaces and scan for all annotated classes. 25 | /// Automatically create bindings. 26 | /// 27 | /// Array of namespaces. Compared using StartsWith. 28 | 29 | void ScanForAnnotatedClasses(string[] usingNamespaces); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/implicitBind/api/IImplicitBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 850f21ad0a3e6574fa4ae2cf5be00123 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/implicitBind/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37636f8b11a193243945154b7372a7ef 3 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/implicitBind/impl/ImplicitBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13d17cc2c9e1d704c977e0d79d056443 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f516f060bc6348b194f6e4a4dc7b586 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/InjectAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 154166a0f77714129987138485733a6b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65a8396017cda4bf6afc0c2a54515dbf 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/ICrossContextInjectionBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9993c4c3afaeef40b57c17a8afe8b42 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/IInjectionBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d80e88034acba44d0910833240bc3709 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/IInjectionBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07a9ebaf442dc465fb4bf566777bc4c5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/IInjector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0fc55f7a755604e848d4ec481bd3538b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/IInjectorFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9a70bce8688f4d42babd46dbaf7122d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/InjectionBindingScope.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | namespace strange.extensions.injector.api 18 | { 19 | public enum InjectionBindingScope 20 | { 21 | /// Scope is limited to the current Context 22 | SINGLE_CONTEXT, 23 | /// Scope is mapped across all Contexts 24 | CROSS_CONTEXT, 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/InjectionBindingScope.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a25ff514c68d70f47bdd135c1ae9104d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/InjectionBindingType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.injector.api 20 | { 21 | public enum InjectionBindingType 22 | { 23 | /// The binding provides a new instance every time 24 | DEFAULT, 25 | 26 | /// The binding always provides the same instance 27 | SINGLETON, 28 | 29 | /// The binding always provides the same instance based on a provided value 30 | VALUE, 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/InjectionBindingType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afce8d6933a65452f9f8b61dc6bf5459 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/api/InjectionExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 774c5a2e33ff643ecb1f81cb8b29f607 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac83a3d53a406483a835a7ce5a840d84 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/impl/CrossContextInjectionBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd95a58c18a0ae541a741a43119319ab 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/impl/InjectionBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2937d5c372fd4517a451ea813147621 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/impl/InjectionBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b17f6a4b1bec404aa3b23ebf9744d2d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/impl/InjectionException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb3ad1f1e959d4fbfbac067ff55bac3e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/impl/Injector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06889e73c44024c66a382ea0e7400fc0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/injector/impl/InjectorFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b29c378e7b2547d08c66dbfd31add9e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f518e9b6c45a349d19994e9ffe7d71c4 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fdce47cc159b453fbc37153a7a528c9 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api/IMediationBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81987ead4e7544ac686105bad44135b7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api/IMediationBinding.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * @interface strange.extensions.mediation.api.IMediationBinding 19 | * 20 | * Interface for MediationBindings 21 | * 22 | * Adds porcelain method to clarify View/Mediator binding. 23 | */ 24 | 25 | using System; 26 | using strange.framework.api; 27 | 28 | namespace strange.extensions.mediation.api 29 | { 30 | public interface IMediationBinding : IBinding 31 | { 32 | /// Porcelain for To providing a little extra clarity and security. 33 | IMediationBinding ToMediator(); 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api/IMediationBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e8d5a6de3d64441ca9e069763ee795d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api/IMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13e2e5b92dab14f598a54fe8ca7f1433 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api/IView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e364002eef75c415ead9c18d5727f575 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api/MediationEvent.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.mediation.api 20 | { 21 | public enum MediationEvent 22 | { 23 | /// The View is Awake 24 | AWAKE, 25 | 26 | /// The View is about to be Destroyed 27 | DESTROYED, 28 | 29 | /// The View is being Enabled 30 | ENABLED, 31 | 32 | /// The View is being Disabled 33 | DISABLED 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api/MediationEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7825ec25cb7544c21bd2d59ffa947608 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/api/MediationExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37b95189f97d64c01b36117cf80d4b09 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bfeefc00743dd4e719af0eb3289beb0b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/impl/EventMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5cb150590dda46a9acd16a57baa613e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/impl/EventView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eafddbc1412584415a172beb017b0925 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/impl/MediationBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 370597185c8564ea5bc16b84a06d4497 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/impl/MediationBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cff0711c5e4834851953b3ecd8eea630 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/impl/MediationException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5ddc11281bc345d0804118d8df82180 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/impl/Mediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b6541cda961c472092644a346f1acb9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/mediation/impl/View.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e039e809816f487da6d8992d9314c47 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6253220ef24094147ad9bc293db60366 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c6af0ce58e5b40d397c9736fb4fd80b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/api/IPool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 664d92a8c12eb4b628ea068782632d8e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/api/IPoolable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 907a341418cb4472fa69ab9111813365 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/api/PoolExceptionType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.pool.api 20 | { 21 | public enum PoolExceptionType 22 | { 23 | 24 | /// POOL HAS OVERFLOWED ITS LIMIT 25 | OVERFLOW, 26 | 27 | /// ATTEMPT TO ADD AN INSTANCE OF DIFFERENT TYPE TO A POOL 28 | TYPE_MISMATCH, 29 | 30 | /// A POOL HAS NO INSTANCE PROVIDER 31 | NO_INSTANCE_PROVIDER, 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/api/PoolExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8520a829621ba4c5fa55767fbddc21c8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/api/PoolInflationType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.pool.api 20 | { 21 | public enum PoolInflationType 22 | { 23 | /// When a dynamic pool inflates, add one to the pool. 24 | INCREMENT, 25 | 26 | /// When a dynamic pool inflates, double the size of the pool 27 | DOUBLE 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/api/PoolInflationType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33a4aa0a0c6c546b6a9034ca6df1caf7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/api/PoolOverflowBehavior.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e444ea1833a6844d883f9a03387241c2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 544b84c0dade040b8bb6a02fae469547 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/impl/Pool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ae6f74b6e68649989f1bc87d855090b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/impl/PoolException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | using System; 19 | using strange.extensions.pool.api; 20 | 21 | namespace strange.extensions.pool.impl 22 | { 23 | public class PoolException : Exception 24 | { 25 | public PoolExceptionType type{ get; set;} 26 | 27 | public PoolException() : base() 28 | { 29 | } 30 | 31 | /// Constructs a PoolException with a message and PoolExceptionType 32 | public PoolException(string message, PoolExceptionType exceptionType) : base(message) 33 | { 34 | type = exceptionType; 35 | } 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/pool/impl/PoolException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7257552986fa44d6595b1ba3ad4931d9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 700f529bf7a3642da8cc4bf89e907352 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 637fa877ce4ea473db5e0200231caf2a 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/api/IReflectedClass.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 400c622d3f8474dd9bc43fba180b3a17 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/api/IReflectionBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25cfb341e165a44589d4b2cd392b7a84 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/api/ReflectionExceptionType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.reflector.api 20 | { 21 | public enum ReflectionExceptionType 22 | { 23 | /// The reflector requires a constructor, which Interfaces don't provide. 24 | CANNOT_REFLECT_INTERFACE, 25 | 26 | /// The reflector is not allowed to inject into private/protected setters. 27 | CANNOT_INJECT_INTO_NONPUBLIC_SETTER, 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/api/ReflectionExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec371223be29b4ce7994ac9552b5ad86 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5bbbde393e58b40759505c9d671d4504 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/impl/ReflectedClass.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee7d5f5da7df948d387e708614da27f0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/impl/ReflectionBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31899c9e391d34000b5cd994adc0655c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/reflector/impl/ReflectionException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b5279ed8abe446069f96e7aa73486e1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 801c1e6054ffa460fa60763e285db7cb 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80a64aada1c9d4a05a3710a642824735 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/api/ISequenceBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53e8713c96b4c46469f1537ad8ba0c72 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/api/ISequenceCommand.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * @interface strange.extensions.sequencer.api.ISequenceCommand 19 | * 20 | * @deprecated 21 | * 22 | * @see strange.extensions.command.api.ICommand 23 | */ 24 | 25 | using System; 26 | using strange.extensions.command.api; 27 | 28 | namespace strange.extensions.sequencer.api 29 | { 30 | public interface ISequenceCommand : ICommand 31 | { 32 | 33 | 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/api/ISequenceCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8d84ce90816d45e9b129720ca9124a1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/api/ISequencer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5635c7ea2b1cb44da958f908433a052a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/api/SequencerExceptionType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.extensions.sequencer.api 20 | { 21 | public enum SequencerExceptionType 22 | { 23 | /// SequenceCommands must always override the Execute() method. 24 | EXECUTE_OVERRIDE, 25 | 26 | /// This exception is raised if the mapped Command doesn't implement ISequenceCommand. 27 | COMMAND_USED_IN_SEQUENCE 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/api/SequencerExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 846382c5ace364967bc9231705fcb90b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a219af285789646a6a10655e6ee12572 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/impl/EventSequenceCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b021750e0a2674cb885a446cbb7429a8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/impl/EventSequencer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9cf42dcd81afc48cd9cc2f35bc998b2d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/impl/SequenceBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ca45a6659b6e409396a0436f2c15c5b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/impl/SequenceCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66da41307ccd8418fa4385284cd0818c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/impl/Sequencer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 075efa253fea149e8b367dcf1a510972 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/sequencer/impl/SequencerException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e84f24e0b88d45278ee38073e88a986 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/signal.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6896ca4098ce424b9c01e6d993a8f1c 3 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/signal/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d77e542216e951c45855128e42c3ff89 3 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/signal/api/IBaseSignal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9727cb91f0e4b244d97828544de78fb4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/signal/api/SignalExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12825483ae27ba843b079669424c46d9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/signal/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be4d2f1d983dcf64083e877a0807edac 3 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/signal/impl/BaseSignal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ecf02efb2a66ab4da8ff10abcfd7e14 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/signal/impl/Signal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8f639c25570e294ebe3656637e9009c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/extensions/signal/impl/SignalException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8074f387882f9ba4f9ac492d621ec81a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d6ad32a3e3384af4b6d2121afebad30 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 248894b7392624efe895bf66ba8b2852 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/BinderExceptionType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | using System; 19 | 20 | namespace strange.framework.api 21 | { 22 | public enum BinderExceptionType 23 | { 24 | /// The binder is being used while one or more Bindings are in conflict 25 | CONFLICT_IN_BINDER 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/BinderExceptionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e5b4a818046b4772be983e38a665ed2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/BindingConst.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.framework.api 20 | { 21 | public enum BindingConst 22 | { 23 | /// Null is an acceptable binding, but dictionaries choke on it, so we map null to this instead. 24 | NULLOID 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/BindingConst.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc8b95d9322ac496591e8a9109de492d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/BindingConstraintType.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | using System; 18 | 19 | namespace strange.framework.api 20 | { 21 | public enum BindingConstraintType 22 | { 23 | /// Constrains a SemiBinding to carry no more than one item in its Value 24 | ONE, 25 | /// Constrains a SemiBinding to carry a list of items in its Value 26 | MANY, 27 | /// Instructs the Binding to apply a Pool instead of a SemiBinding 28 | POOL, 29 | } 30 | } 31 | 32 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/BindingConstraintType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ff4a96ba9b6c464aa29f5641043e882 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/IBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ff14c1425f144549b758e356d9d4ae9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/IBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb787a024aec84ff69b668cc43ff9613 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/IInstanceProvider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cc1f0eac8ff945748f1b3f73d47f7b9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/IManagedList.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb2b52f19956c4be19ec1e18adad28f4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/api/ISemiBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f5d29378efec4db5b7a1567de4235c6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/impl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3555be3d85b62458e954a2b8588000c9 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/impl/Binder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b905279508fec488cacc1e109ebe19a1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/impl/BinderException.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 ThirdMotion, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | using System; 19 | using strange.framework.api; 20 | 21 | namespace strange.framework.impl 22 | { 23 | public class BinderException : Exception 24 | { 25 | public BinderExceptionType type{ get; set;} 26 | 27 | public BinderException() : base() 28 | { 29 | } 30 | 31 | /// Constructs a BinderException with a message and BinderExceptionType 32 | public BinderException(string message, BinderExceptionType exceptionType) : base(message) 33 | { 34 | type = exceptionType; 35 | } 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/impl/BinderException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37a79042a256c4401babc3bf7c1054c7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/impl/Binding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61252f7ac70cf4932a62f49ac5815a7c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strange/framework/impl/SemiBinding.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e424dd87b87dc470096b825685d4af98 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f777ce2eef8734f26be26474365a4d0f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31303f6732b5948c2bdcab1059a4d5d4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/config.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a40d65e703074df9a7133d2ed138260 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/config/CommonSignal.cs: -------------------------------------------------------------------------------- 1 | //This file contains all the signals that are dispatched between Contexts 2 | 3 | using System; 4 | using strange.extensions.signal.impl; 5 | 6 | namespace strange.examples.strangerocks 7 | { 8 | public class StartSignal : Signal{} 9 | 10 | //Input 11 | public class GameInputSignal : Signal{}; 12 | 13 | //Game 14 | public class GameStartSignal : Signal{} 15 | public class GameEndSignal : Signal{} 16 | public class LevelStartSignal : Signal{} 17 | public class LevelEndSignal : Signal{} 18 | public class UpdateLivesSignal : Signal{} 19 | public class UpdateScoreSignal : Signal{} 20 | public class UpdateLevelSignal : Signal{} 21 | } 22 | 23 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/config/CommonSignal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d66be39bd9844d4eb1aebd0bad3261b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/config/SignalContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66aa59dcb7d8b4fd495bb9381e4bfcfa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/config/StrangeRocksElement.cs: -------------------------------------------------------------------------------- 1 | //IDs for named injections used in more than one Context 2 | 3 | using System; 4 | 5 | namespace strange.examples.strangerocks 6 | { 7 | public enum StrangeRocksElement 8 | { 9 | GAME_CAMERA, 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/config/StrangeRocksElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b1b811f2a805468a9ea8676b3e66b52 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12324a72fdea041ac82733ffb8d751ac 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/controller/ResourceInstanceProvider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92bc60bd209a847398a4de8070dc05e9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/util.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cee3300f261d4d23aa6cbe23e5eb189 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/util/IRoutineRunner.cs: -------------------------------------------------------------------------------- 1 | //Interface for a service. 2 | //In this case, the service allows us to run a Coroutine outside 3 | //the strict confines of a MonoBehaviour. (See RoutineRunner) 4 | 5 | using System; 6 | using UnityEngine; 7 | using System.Collections; 8 | 9 | namespace strange.examples.strangerocks 10 | { 11 | public interface IRoutineRunner 12 | { 13 | Coroutine StartCoroutine(IEnumerator method); 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/util/IRoutineRunner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c07d1466ea8d42cfbbcd0a519379752 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/util/IScreenUtil.cs: -------------------------------------------------------------------------------- 1 | //Interface for a service which provides camera utilities 2 | //(see ScreenUtil) 3 | 4 | using System; 5 | using UnityEngine; 6 | 7 | namespace strange.examples.strangerocks 8 | { 9 | public interface IScreenUtil 10 | { 11 | Rect GetScreenRect(float x, float y, float width, float height); 12 | 13 | bool IsInCamera(GameObject go); 14 | 15 | void TranslateToFarSide(GameObject go); 16 | 17 | Vector3 RandomPositionOnLeft(); 18 | 19 | Vector3 GetAnchorPosition(ScreenAnchor horizontal, ScreenAnchor vertical); 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/util/IScreenUtil.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 556d435fbb1ae4dde8eecce89ae31a31 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/util/RoutineRunner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2bbb75fee4caa451293ba89f97cdb5bd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/util/ScreenUtil.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0baac9575d7a34fc3b8cf3ad2ff7b757 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/view.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd58a240314344d82a2d3f28f740ef91 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/view/ButtonMouseMediator.cs: -------------------------------------------------------------------------------- 1 | //Mediates the ButtonView in Editor/Desktop/Web...wherever mouse clicks are appropriate 2 | 3 | using System; 4 | using strange.extensions.mediation.impl; 5 | 6 | namespace strange.examples.strangerocks.ui 7 | { 8 | public class ButtonMouseMediator : Mediator 9 | { 10 | [Inject] 11 | public ButtonView view { get; set; } 12 | 13 | #if UNITY_EDITOR || UNITY_STANDALONE || UNITY_WEBPLAYER 14 | 15 | protected void OnMouseDown() 16 | { 17 | view.pressBegan (); 18 | } 19 | 20 | protected void OnMouseUp() 21 | { 22 | view.pressEnded (); 23 | } 24 | 25 | protected void OnMouseEnter() 26 | { 27 | view.background.renderer.material.color = view.overColor; 28 | } 29 | 30 | protected void OnMouseExit() 31 | { 32 | view.background.renderer.material.color = view.normalColor; 33 | } 34 | 35 | #endif 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/view/ButtonMouseMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1739c3d5a2d54707ba3c15bdd65a36c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/view/ButtonTouchMediator.cs: -------------------------------------------------------------------------------- 1 | //Mediates the ButtonView on devices 2 | 3 | using System; 4 | using UnityEngine; 5 | using strange.extensions.mediation.impl; 6 | 7 | namespace strange.examples.strangerocks.ui 8 | { 9 | public class ButtonTouchMediator : Mediator 10 | { 11 | [Inject] 12 | public ButtonView view{ get; set; } 13 | 14 | [Inject(StrangeRocksElement.GAME_CAMERA)] 15 | public Camera gameCamera{ get; set; } 16 | 17 | #if !UNITY_EDITOR && (UNITY_ANDROID || UNITY_IPHONE) 18 | 19 | void Update() 20 | { 21 | if (Input.touchCount > 0) 22 | { 23 | foreach (Touch touch in Input.touches) 24 | { 25 | Ray ray = gameCamera.ScreenPointToRay (touch.position); 26 | RaycastHit hit; 27 | if (Physics.Raycast (ray, out hit)) 28 | { 29 | if (hit.collider == collider) 30 | { 31 | if (touch.phase == TouchPhase.Began) 32 | { 33 | view.pressBegan (); 34 | } 35 | else if (touch.phase == TouchPhase.Ended) 36 | { 37 | view.pressEnded (); 38 | } 39 | } 40 | } 41 | } 42 | } 43 | } 44 | 45 | 46 | 47 | #endif 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/view/ButtonTouchMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29525cd98050b45afbf92f4154ce8efa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/common/view/ButtonView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cbe2cc257e81402f84f3d376eee6d94 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 011a70438d489416a9e96a48dd7e60f3 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/GameBootstrap.cs: -------------------------------------------------------------------------------- 1 | //Every context starts by attaching a ContextView to a GameObject. 2 | //The main job of this ContextView is to instantiate the Context. 3 | //Remember, if the GameObject is destroyed, the Context and all your 4 | //bindings go with it. 5 | 6 | //This ContextView holds the core game. It is capable of running standalone 7 | //(run from game.unity), or as part of the integrated whole (run from main.unity). 8 | 9 | using UnityEngine; 10 | using System.Collections; 11 | using strange.extensions.context.impl; 12 | 13 | namespace strange.examples.strangerocks.game 14 | { 15 | public class GameBootstrap : ContextView 16 | { 17 | 18 | // Initialize your game context 19 | void Start () 20 | { 21 | context = new GameContext (this); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/GameBootstrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73ca380e7118241cb90be1edb4658600 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/config.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2eaa95dc809564c7e9765f82c4bd20ac 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/config/GameContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56c6055f23e944c979bf0f980917eb7b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/config/GameElement.cs: -------------------------------------------------------------------------------- 1 | //This is an enum of named injections used around the game. 2 | 3 | using System; 4 | 5 | namespace strange.examples.strangerocks.game 6 | { 7 | public enum GameElement 8 | { 9 | ENEMY_POOL, //Injection names of the pools 10 | ENEMY_MISSILE_POOL, 11 | MISSILE_EXPLOSION_POOL, 12 | MISSILE_POOL, 13 | ROCK_POOL, 14 | GAME_FIELD, //Injection name of the GameObject that parents the rocks/missiles/player/etc. 15 | PLAYER_SHIP, //Injection name of the player's vessel 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/config/GameElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f1f3b4a159584144a30e1f94dc7cdb4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/config/GameSignal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f6e06db446fa43b59223cff9345b5f2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e992767be46bc4579bf4e62cab1b80be 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/EndGameCommand.cs: -------------------------------------------------------------------------------- 1 | //At the end of the Game, do whatever cleanup is required. 2 | 3 | using System; 4 | using strange.extensions.command.impl; 5 | using UnityEngine; 6 | 7 | namespace strange.examples.strangerocks.game 8 | { 9 | public class EndGameCommand : Command 10 | { 11 | 12 | [Inject] 13 | public ISpawner spawner{ get; set; } 14 | 15 | public override void Execute () 16 | { 17 | spawner.Stop (); 18 | } 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/EndGameCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6371baebdfbe42049ee72ae69ec1608 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/GameIndependentStartCommand.cs: -------------------------------------------------------------------------------- 1 | //When we start the module, take care of any startup requriements. 2 | 3 | //This version is called only when GameContext runs in standalone mode. 4 | //It instantiates the IME and puts a debugview on-screen 5 | 6 | using System; 7 | using strange.extensions.command.impl; 8 | using UnityEngine; 9 | using strange.extensions.context.api; 10 | 11 | namespace strange.examples.strangerocks.game 12 | { 13 | public class GameIndependentStartCommand : Command 14 | { 15 | [Inject (ContextKeys.CONTEXT_VIEW)] 16 | public GameObject contextView{ get; set; } 17 | 18 | [Inject] //This injection simply instantiates the game input 19 | public IInput input{ get; set; } 20 | 21 | 22 | public override void Execute () 23 | { 24 | GameObject go = new GameObject ("debug_view"); 25 | go.AddComponent (); 26 | go.transform.parent = contextView.transform; 27 | } 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/GameIndependentStartCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c024e16a875504553b68471e12381491 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/GameModuleStartCommand.cs: -------------------------------------------------------------------------------- 1 | //When we start the module, take care of any startup requriements. 2 | 3 | //This version is when GameContext runs as part of an integrated, multi-Context app. 4 | //It just instantiates the IME. 5 | 6 | using System; 7 | using strange.extensions.command.impl; 8 | using UnityEngine; 9 | using strange.extensions.context.api; 10 | 11 | namespace strange.examples.strangerocks.game 12 | { 13 | public class GameModuleStartCommand : Command 14 | { 15 | 16 | [Inject] //This injection simply instantiates the game input 17 | public IInput input{ get; set; } 18 | 19 | 20 | public override void Execute () 21 | { 22 | //No-op. 23 | } 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/GameModuleStartCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f76a9694ef9e462485b399e7cee7940 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/ISpawner.cs: -------------------------------------------------------------------------------- 1 | //API for a device that spawns things. 2 | 3 | using System; 4 | 5 | namespace strange.examples.strangerocks.game 6 | { 7 | public interface ISpawner 8 | { 9 | //Start spawning 10 | void Start(); 11 | 12 | //Stop spawning 13 | void Stop(); 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/ISpawner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa1025a0bcabb46528f11113bf5333d4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/StartGameCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dfaa743794f84626bea97b0144ed752 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/enemy.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c0a5aeda48074b7697cd00be065b429 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/enemy/CreateEnemyCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8242ddfd2b25b4a0280f5a119e84d899 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/enemy/CreateEnemySpawnerCommand.cs: -------------------------------------------------------------------------------- 1 | //This Command starts a service that spawns enemy ships at irregular intervals. 2 | 3 | using System; 4 | using UnityEngine; 5 | using System.Collections; 6 | using strange.extensions.mediation.impl; 7 | using strange.extensions.command.impl; 8 | 9 | namespace strange.examples.strangerocks.game 10 | { 11 | public class CreateEnemySpawnerCommand : Command 12 | { 13 | 14 | [Inject] 15 | public ISpawner spawner{ get; set; } 16 | 17 | public override void Execute () 18 | { 19 | spawner.Start (); 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/enemy/CreateEnemySpawnerCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bfc3a5a0ab3dc402c8aebf2f926b21fb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/enemy/DestroyEnemyCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0f31518d7ee548378fb6eaff1184ac2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/enemy/EnemySpawner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85edf15b968034fb48b6f8bb1cb16b98 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/input.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d096a0738cb6479eb48ff547aa5fc4b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/input/GameInputEvent.cs: -------------------------------------------------------------------------------- 1 | //Bitwise values for user input. 2 | //In KeyboardInput and OnscreenControlsView, these values are combined 3 | //bitwise to indicate the user's input. 4 | 5 | using System; 6 | 7 | namespace strange.examples.strangerocks 8 | { 9 | public class GameInputEvent 10 | { 11 | public static int NONE = 0; 12 | public static int ROTATE_RIGHT = 1; 13 | public static int ROTATE_LEFT = 2; 14 | public static int THRUST = 4; 15 | public static int FIRE = 8; 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/input/GameInputEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5defb00ba8aa646e6bbb3c15328efca1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/input/IInput.cs: -------------------------------------------------------------------------------- 1 | //An API-less interface. 2 | //This simply functions as a "Marker" class for injecting the Input. 3 | //Right now there's only KeyboardInput, so why bother? 4 | //Well, tomorrow the boss may ask for JoystickInput, GameControllerInput 5 | //AccelerometerInput...who knows? By presupposing an interface, we 6 | //set ourselves up today for the minimum refactoring tomorrow. 7 | 8 | using System; 9 | 10 | namespace strange.examples.strangerocks.game 11 | { 12 | public interface IInput 13 | { 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/input/IInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca0f8a12652d441a0a478a67cef2a283 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/input/KeyboardInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f82d2d9ed1a94bb79c0d1020504a213 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/input/NullInput.cs: -------------------------------------------------------------------------------- 1 | //For the moment, user input comes via KeyboardInput or the OnscreenControlsView. 2 | //OnscreenControlsView is a View, rather than an injectable, instantiable 3 | //Class, so when we use it, IInput gets mapped to this class to fulfill the injection 4 | //requirement. 5 | 6 | //A different solution might be to work up some logic in your Context that avoids the 7 | //IInput injection. I prefer this route, as it guarantees all my dependencies will 8 | //be satisfied. 9 | 10 | using System; 11 | 12 | namespace strange.examples.strangerocks.game 13 | { 14 | public class NullInput : IInput 15 | { 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/input/NullInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f637e8b5519749a5afaf8edfbc756bd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68023423b72254a6b94c0d0bc9db20a7 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level/CleanupLevelCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ff47ebfbaf6044c1a9befd7b55dada0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level/CreateGameFieldCommand.cs: -------------------------------------------------------------------------------- 1 | //Instantiates and binds a special GAME_FIELD GameObject to parent the rest of the game elements. 2 | 3 | using System; 4 | using strange.extensions.command.impl; 5 | using UnityEngine; 6 | using strange.extensions.context.api; 7 | 8 | namespace strange.examples.strangerocks.game 9 | { 10 | public class CreateGameFieldCommand : Command 11 | { 12 | [Inject(ContextKeys.CONTEXT_VIEW)] 13 | public GameObject contextView{ get; set; } 14 | 15 | public override void Execute () 16 | { 17 | Vector3 center = Vector3.zero; 18 | 19 | //setup the game field 20 | if (injectionBinder.GetBinding (GameElement.GAME_FIELD) == null) 21 | { 22 | GameObject gameField = new GameObject (GameElement.GAME_FIELD.ToString()); 23 | gameField.transform.localPosition = center; 24 | gameField.transform.parent = contextView.transform; 25 | 26 | //Bind it so we can use it elsewhere 27 | injectionBinder.Bind ().ToValue (gameField).ToName (GameElement.GAME_FIELD); 28 | } 29 | } 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level/CreateGameFieldCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddc7ef0cdf08b4c8993810bb2569e10b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level/LevelEndCommand.cs: -------------------------------------------------------------------------------- 1 | //Executes when the user clears a level. Increments the game level. 2 | 3 | using System; 4 | using strange.extensions.command.impl; 5 | 6 | namespace strange.examples.strangerocks.game 7 | { 8 | public class LevelEndCommand : Command 9 | { 10 | [Inject] 11 | public IGameModel gameModel{ get; set; } 12 | 13 | [Inject] 14 | public UpdateLevelSignal updateLevelSignal{get;set;} 15 | 16 | public override void Execute () 17 | { 18 | if (gameModel.levelInProgress) 19 | { 20 | gameModel.levelInProgress = false; 21 | gameModel.level++; 22 | updateLevelSignal.Dispatch (gameModel.level); 23 | } 24 | } 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level/LevelEndCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e93794ca05e14bbebd86c7b6b854d28 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level/SetupLevelCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e8a5be9ed30140198a420dcb536c97f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level/StartLevelCommand.cs: -------------------------------------------------------------------------------- 1 | //Kick off the level 2 | 3 | using System; 4 | using strange.extensions.command.impl; 5 | using UnityEngine; 6 | 7 | namespace strange.examples.strangerocks.game 8 | { 9 | public class StartLevelCommand : Command 10 | { 11 | [Inject] 12 | public IGameModel gameModel{ get; set; } 13 | 14 | [Inject] 15 | public LevelStartedSignal levelStartedSignal{ get; set; } 16 | 17 | [Inject] 18 | public SetupLevelSignal setupLevelSignal{ get; set; } 19 | 20 | [Inject] 21 | public UpdateLivesSignal updateLivesSignal{ get; set; } 22 | 23 | public override void Execute () 24 | { 25 | setupLevelSignal.Dispatch (); 26 | gameModel.levelInProgress = true; 27 | levelStartedSignal.Dispatch (); 28 | updateLivesSignal.Dispatch (gameModel.lives); 29 | } 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/level/StartLevelCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48e3564c72ede40198b0af54460b82e3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/missile.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9d348bd94c7d47fc9e68784efccea41 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/missile/DestroyMissileCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb56ddbdb8b6a4bc898c0402d0726151 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/missile/FireMissileCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e30f94349a4043fdb55a17dcaf9b290 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/missile/MissileHitCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76cc7988d03124f2f8e070cfaf5ab684 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/player.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69769295a00a04520b2ac55201e771f8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/player/CreatePlayerCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6c98c8a7771747c89ab9fa87a75fd0b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/player/DestroyPlayerCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 290f2972fb4c24a389aba29cc00d3c04 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/rock.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20f4b3626ac724e08a749e1cf0c66b0e 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/rock/CreateRockCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0987e67f053624738bedea7951fa7d09 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/controller/rock/DestroyRockCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2174a7919b29344e9a217bfd06e7712c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/model.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d123175c67fc54881a16a2d470c20713 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/model/GameConfig.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7024edbb7edac4ba5a7dbacfb48572f0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/model/GameModel.cs: -------------------------------------------------------------------------------- 1 | //Storage of data that reflects how the player is doing 2 | 3 | using System; 4 | 5 | namespace strange.examples.strangerocks.game 6 | { 7 | public class GameModel : IGameModel 8 | { 9 | public GameModel () 10 | { 11 | } 12 | 13 | #region IGameModel implementation 14 | 15 | public void Reset () 16 | { 17 | score = 0; 18 | level = 1; 19 | lives = initLives; 20 | } 21 | 22 | public int score { get; set; } 23 | 24 | public int lives { get; set; } 25 | 26 | public int initLives { get; set; } 27 | 28 | public int level { get; set; } 29 | 30 | public bool levelInProgress{ get; set; } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/model/GameModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43b06f4189feb42d8b521742d06d0fe2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/model/IGameConfig.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace strange.examples.strangerocks.game 4 | { 5 | public interface IGameConfig 6 | { 7 | int initLives{ get; set; } 8 | 9 | int newLifeEvery{ get; set; } 10 | 11 | int initRocks{ get; set; } 12 | 13 | int additionalRocksPerLevel{ get; set; } 14 | 15 | int baseRockScore{ get; set; } 16 | 17 | float rockExplosiveForceMin{ get; set; } 18 | 19 | float rockExplosiveForceMax{ get; set; } 20 | 21 | float rockExplosiveRadius{ get; set; } 22 | 23 | float enemySpawnSecondsMin{ get; set; } 24 | 25 | float enemySpawnSecondsMax{ get; set; } 26 | 27 | int baseEnemyScore{ get; set; } 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/model/IGameConfig.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 905894c737e2d42c1a981a9f4aa4206f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/model/IGameModel.cs: -------------------------------------------------------------------------------- 1 | //The API for a model representing how the player is doing 2 | 3 | using System; 4 | 5 | namespace strange.examples.strangerocks.game 6 | { 7 | public interface IGameModel 8 | { 9 | // Restore game model to default state (as on startup) 10 | void Reset(); 11 | 12 | int score{ get; set; } 13 | 14 | int lives{ get; set; } 15 | 16 | int initLives{ get; set; } 17 | 18 | int level{ get; set; } 19 | 20 | bool levelInProgress{ get; set; } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/model/IGameModel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 350a4118ae92448a485b53d0e2ced29b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20a4cfa40ec5046a0a281b6e28a3092a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/EnemyMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de976e01d9ecb445094af29d813d7b83 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/EnemyMissileMediator.cs: -------------------------------------------------------------------------------- 1 | //Mediators provide a buffer between Views and the rest of the app. 2 | //THIS IS A REALLY GOOD THING. READ ABOUT IT HERE: 3 | //http://thirdmotion.github.io/strangeioc/faq.html#why-mediator 4 | 5 | //This mediates between the app and the EnemyMissileView. 6 | 7 | using System; 8 | using strange.extensions.mediation.impl; 9 | using UnityEngine; 10 | 11 | namespace strange.examples.strangerocks.game 12 | { 13 | public class EnemyMissileMediator : Mediator 14 | { 15 | [Inject] 16 | public EnemyMissileView view { get; set; } 17 | 18 | [Inject] 19 | public DestroyMissileSignal destroyMissileSignal{ get; set; } 20 | 21 | public override void OnRegister () 22 | { 23 | view.exitScreenSignal.AddListener (onExitScreen); 24 | } 25 | 26 | public override void OnRemove () 27 | { 28 | view.exitScreenSignal.RemoveListener (onExitScreen); 29 | } 30 | 31 | private void onExitScreen() 32 | { 33 | destroyMissileSignal.Dispatch (view, GameElement.ENEMY_MISSILE_POOL); 34 | } 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/EnemyMissileMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70d218c69a73142a0a579890ef3f0e57 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/EnemyMissileView.cs: -------------------------------------------------------------------------------- 1 | //Effectively just a marker class to differentiate enemy missiles (see MissileView) 2 | //The "View" for a EnemyMissile. This MonoBehaviour is attached to the enemy_missile prefab inside Unity. 3 | 4 | using System; 5 | using UnityEngine; 6 | 7 | namespace strange.examples.strangerocks.game 8 | { 9 | public class EnemyMissileView : MissileView 10 | { 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/EnemyMissileView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9682cd78aa9f74205af9d23fff945fab 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/EnemyView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b9bdc930f665463fbb3627d764d60ab 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/ExplosionMediator.cs: -------------------------------------------------------------------------------- 1 | //Mediators provide a buffer between Views and the rest of the app. 2 | //THIS IS A REALLY GOOD THING. READ ABOUT IT HERE: 3 | //http://thirdmotion.github.io/strangeioc/faq.html#why-mediator 4 | 5 | //This mediates between the app and the ExplosionView. 6 | 7 | //Note that we're not pooling ShipView explosions (nor ShipViews), since they 8 | //are relatively rare in the game. 9 | 10 | using System; 11 | using strange.extensions.mediation.impl; 12 | using strange.extensions.pool.api; 13 | using UnityEngine; 14 | 15 | namespace strange.examples.strangerocks.game 16 | { 17 | public class ExplosionMediator : Mediator 18 | { 19 | [Inject] 20 | public ExplosionView view { get; set; } 21 | 22 | public override void OnRegister () 23 | { 24 | view.animationCompleteSignal.AddListener (onComplete); 25 | } 26 | 27 | private void onComplete() 28 | { 29 | //This default mediator just deletes the view 30 | GameObject.Destroy (gameObject); 31 | } 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/ExplosionMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 714d9f330a89744be9807ccf2832b638 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/ExplosionView.cs: -------------------------------------------------------------------------------- 1 | //A View for the explosion of the ShipView 2 | //This View is attached to the player_explosion prefab in Unity. 3 | 4 | using System; 5 | using strange.extensions.mediation.impl; 6 | using UnityEngine; 7 | using strange.extensions.signal.impl; 8 | 9 | namespace strange.examples.strangerocks.game 10 | { 11 | public class ExplosionView : View 12 | { 13 | public GameObject particleView; 14 | 15 | internal Signal animationCompleteSignal = new Signal (); 16 | 17 | void OnEnable() 18 | { 19 | 20 | } 21 | 22 | protected void Update() 23 | { 24 | if (particleView.GetComponent ().IsAlive () == false) 25 | animationCompleteSignal.Dispatch (); 26 | } 27 | 28 | internal void resetAnimation() 29 | { 30 | particleView.GetComponent ().time = 0f; 31 | } 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/ExplosionView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f010175eb82740ce9650a14006e5d25 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/GameDebugMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 167e11c0428fe443db76bc228db64ec3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/GameDebugView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecf14ba1affc646b29128801429c3474 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/MissileExplosionMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c15ba636f2fb449fca217e7d135df224 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/MissileExplosionView.cs: -------------------------------------------------------------------------------- 1 | //Extends ExplosionView to mark it as the Missile version. 2 | //MissileExplosions get pooled, regular explosions don't. By marking the explosion in this way, 3 | //We can add different Mediators. 4 | 5 | //This View is attached to the missile_explosion prefab in Unity. 6 | 7 | using System; 8 | 9 | namespace strange.examples.strangerocks.game 10 | { 11 | public class MissileExplosionView : ExplosionView 12 | { 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/MissileExplosionView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 703896611324241b2965d1238883526d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/MissileMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f07a53bada08f463189c943591000438 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/MissileView.cs: -------------------------------------------------------------------------------- 1 | //The "View" for a Missile. This MonoBehaviour is attached to the missile prefab inside Unity. 2 | 3 | using System; 4 | using strange.extensions.mediation.impl; 5 | using UnityEngine; 6 | using strange.extensions.signal.impl; 7 | 8 | namespace strange.examples.strangerocks.game 9 | { 10 | public class MissileView : View 11 | { 12 | [Inject] 13 | public IScreenUtil screenUtil{ get; set; } 14 | 15 | internal Signal contactSignal = new Signal (); 16 | internal Signal exitScreenSignal = new Signal (); 17 | 18 | public Renderer mainRenderer; 19 | 20 | virtual protected void OnTriggerEnter(Collider other) 21 | { 22 | contactSignal.Dispatch (other.gameObject); 23 | } 24 | 25 | void FixedUpdate() 26 | { 27 | if (gameObject.activeSelf && !screenUtil.IsInCamera(mainRenderer.gameObject)) 28 | { 29 | //Missile flew offscreen 30 | exitScreenSignal.Dispatch (); 31 | } 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/MissileView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34b0da40da06b4bf7ae0d489bb4bc98f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/RockMediator.cs: -------------------------------------------------------------------------------- 1 | //Mediators provide a buffer between Views and the rest of the app. 2 | //THIS IS A REALLY GOOD THING. READ ABOUT IT HERE: 3 | //http://thirdmotion.github.io/strangeioc/faq.html#why-mediator 4 | 5 | //This mediates between the app and the RockView. 6 | 7 | using System; 8 | using strange.extensions.mediation.impl; 9 | 10 | namespace strange.examples.strangerocks.game 11 | { 12 | public class RockMediator : Mediator 13 | { 14 | [Inject] 15 | public RockView view { get; set; } 16 | 17 | public override void OnRegister () 18 | { 19 | //No-op...rocks are pretty dumb. 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/RockMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c01596aba1966409d91f83005240c0fc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/RockView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f398e996b95254e2693cfadcd99e4e34 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/ShipMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6822cc0a6a3b4db8a59ebc781245f81 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/game/view/ShipView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fdf9eb765b674587a07c2c08ced9e9d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/main.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c6762f503ad04fe7915842d1de42d06 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/main/MainBootstrap.cs: -------------------------------------------------------------------------------- 1 | //Every context starts by attaching a ContextView to a GameObject. 2 | //The main job of this ContextView is to instantiate the Context. 3 | //Remember, if the GameObject is destroyed, the Context and all your 4 | //bindings go with it. 5 | 6 | //This ContextView has two jobs: 7 | //1. Provide the Cross-Context dependencies (see MainContext) 8 | //2. Load the other Contexts (see MainStartupCommand) 9 | 10 | using UnityEngine; 11 | using System.Collections; 12 | using strange.extensions.context.impl; 13 | 14 | namespace strange.examples.strangerocks.main 15 | { 16 | public class MainBootstrap : ContextView 17 | { 18 | 19 | // Initialize the Context 20 | void Start () 21 | { 22 | context = new MainContext (this); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/main/MainBootstrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2793f11d507a45a0a1c36279e4690b0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/main/config.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8c57fbf882db4227bd03766b54aa92c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/main/config/MainContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8dfe88de332e41228a0ea74fd95f9aa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/main/controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2de9ec58b79e3437bba9ac10286d0cf8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/main/controller/MainStartupCommand.cs: -------------------------------------------------------------------------------- 1 | //Loads UI and Game levels 2 | //Note the use of LoadLevelAdditive. This means we're ADDING 3 | //to the scene, rather than destroying it. The advantage of this 4 | //approach is that out Cross-Context bindings remain in place, 5 | //which makes better use of Strange's Cross-Context capabilities. 6 | 7 | using System; 8 | using UnityEngine; 9 | using strange.extensions.context.api; 10 | using strange.extensions.command.impl; 11 | 12 | namespace strange.examples.strangerocks.main 13 | { 14 | public class MainStartupCommand : Command 15 | { 16 | [Inject(ContextKeys.CONTEXT_VIEW)] 17 | public GameObject contextView { get; set; } 18 | 19 | 20 | override public void Execute () 21 | { 22 | Application.LoadLevelAdditive ("ui"); 23 | Application.LoadLevelAdditive ("game"); 24 | } 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/main/controller/MainStartupCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a76cbb187461e4e7b8662e894b502b35 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bae2b2133b15e45b89109156a01d6f50 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/UIBootstrap.cs: -------------------------------------------------------------------------------- 1 | //Every context starts by attaching a ContextView to a GameObject. 2 | //The main job of this ContextView is to instantiate the Context. 3 | //Remember, if the GameObject is destroyed, the Context and all your 4 | //bindings go with it. 5 | 6 | //This ContextView holds the UI. It can be helpful to break apart your 7 | //game into multiple scenes and multiple Contexts. In particular, 8 | //this split allows one dev/team to work on the UI while a different dev 9 | //or team works on the game. 10 | 11 | using UnityEngine; 12 | using System.Collections; 13 | using strange.extensions.context.impl; 14 | 15 | namespace strange.examples.strangerocks.ui 16 | { 17 | public class UIBootstrap : ContextView 18 | { 19 | 20 | // Initialize your UI context 21 | void Start () 22 | { 23 | context = new UIContext (this); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/UIBootstrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1fbf6857c1bd44a68b3ddbeffdff857 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: -100 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/config.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23f3d1ee227c24528b6a4fa269426886 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/config/UIContext.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b53d67ef4095404695df5f81e2e08e8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 808f0802af5c64cf4975202abac07986 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/controller/UIStartCommand.cs: -------------------------------------------------------------------------------- 1 | //While this Context doesn't actually need a startup Command 2 | //I almost always leave one here...just in case. 3 | //In any sufficiently complex project, there's pretty much 4 | //always **something** that needs to happen on startup. 5 | 6 | using System; 7 | using strange.extensions.command.impl; 8 | 9 | namespace strange.examples.strangerocks.ui 10 | { 11 | public class UIStartCommand : Command 12 | { 13 | public override void Execute () 14 | { 15 | 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/controller/UIStartCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5a4c62692e8f4223b05fd5915b83b60 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e1c3afe28a8a4d47b3d3f943c36ab64 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/EndGameMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d22ad9126b634bcfb82d5c185aa8bf3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/EndGamePanelView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.mediation.impl; 3 | using UnityEngine; 4 | using strange.extensions.signal.impl; 5 | 6 | namespace strange.examples.strangerocks.ui 7 | { 8 | public class EndGamePanelView : View 9 | { 10 | [Inject] 11 | public IScreenUtil screenUtil{ get; set; } 12 | 13 | public ButtonView startButton; 14 | public TextMesh score_field; 15 | public ScreenAnchor horizontalAnchor = ScreenAnchor.CENTER_HORIZONTAL; 16 | public ScreenAnchor verticalAnchor = ScreenAnchor.CENTER_VERTICAL; 17 | 18 | internal Signal proceedSignal = new Signal (); 19 | 20 | internal void Init() 21 | { 22 | startButton.releaseSignal.AddListener (onStartClick); 23 | transform.localPosition = screenUtil.GetAnchorPosition(horizontalAnchor, verticalAnchor); 24 | } 25 | 26 | internal void SetScore(int value) 27 | { 28 | score_field.text = value.ToString (); 29 | } 30 | 31 | private void onStartClick() 32 | { 33 | proceedSignal.Dispatch (); 34 | } 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/EndGamePanelView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 479556f9bd0be467cbf63e185706c895 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/HUDMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34d508ce50c0840b6ade265978c9c6b7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/HUDView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a71371edac83d43519d250ff5c9c1834 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/IdlePanelMediator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.mediation.impl; 3 | 4 | namespace strange.examples.strangerocks.ui 5 | { 6 | public class IdlePanelMediator : Mediator 7 | { 8 | [Inject] 9 | public IdlePanelView view{ get; set; } 10 | 11 | [Inject] 12 | public GameStartSignal gameStartSignal{ get; set; } 13 | 14 | [Inject] 15 | public LevelStartSignal levelStartSignal{ get; set; } 16 | 17 | public override void OnRegister () 18 | { 19 | view.Init (); 20 | view.proceedSignal.AddListener (onProceed); 21 | } 22 | 23 | public override void OnRemove () 24 | { 25 | view.proceedSignal.RemoveListener (onProceed); 26 | } 27 | 28 | private void show() 29 | { 30 | gameObject.SetActive (true); 31 | } 32 | 33 | private void hide() 34 | { 35 | gameObject.SetActive (false); 36 | } 37 | 38 | private void onProceed() 39 | { 40 | hide (); 41 | gameStartSignal.Dispatch (); 42 | } 43 | } 44 | } 45 | 46 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/IdlePanelMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a782ec51487e046a99d4f07e1c85c116 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/IdlePanelView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.mediation.impl; 3 | using UnityEngine; 4 | using strange.extensions.signal.impl; 5 | 6 | namespace strange.examples.strangerocks.ui 7 | { 8 | public class IdlePanelView : View 9 | { 10 | [Inject] 11 | public IScreenUtil screenUtil{ get; set; } 12 | 13 | internal Signal proceedSignal = new Signal (); 14 | 15 | public ButtonView startButton; 16 | 17 | public ScreenAnchor horizontalAnchor = ScreenAnchor.CENTER_HORIZONTAL; 18 | public ScreenAnchor verticalAnchor = ScreenAnchor.CENTER_VERTICAL; 19 | 20 | internal void Init() 21 | { 22 | startButton.releaseSignal.AddListener (onStartClick); 23 | 24 | transform.localPosition = screenUtil.GetAnchorPosition (horizontalAnchor, verticalAnchor); 25 | } 26 | 27 | private void onStartClick() 28 | { 29 | proceedSignal.Dispatch (); 30 | } 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/IdlePanelView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3efd2ae05e1394788b420bef823ecc37 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/OnscreenControlsMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7bea178a5b3b459db561fd154dc493b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/OnscreenControlsView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b20b3551f38e436caed2df449a4a0f0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/StartLevelMediator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d31bbab6f458b4295ad489997cdeab0b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/StartLevelPanelView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using strange.extensions.mediation.impl; 3 | using UnityEngine; 4 | using strange.extensions.signal.impl; 5 | 6 | namespace strange.examples.strangerocks.ui 7 | { 8 | public class StartLevelPanelView : View 9 | { 10 | [Inject] 11 | public IScreenUtil screenUtil{ get; set; } 12 | 13 | public ButtonView startButton; 14 | public TextMesh level_field; 15 | public ScreenAnchor horizontalAnchor = ScreenAnchor.CENTER_HORIZONTAL; 16 | public ScreenAnchor verticalAnchor = ScreenAnchor.CENTER_VERTICAL; 17 | 18 | internal Signal proceedSignal = new Signal (); 19 | 20 | internal void Init() 21 | { 22 | startButton.releaseSignal.AddListener (onStartClick); 23 | 24 | transform.localPosition = screenUtil.GetAnchorPosition(horizontalAnchor, verticalAnchor); 25 | } 26 | 27 | internal void SetLevel(int value) 28 | { 29 | level_field.text = value.ToString (); 30 | } 31 | 32 | private void onStartClick() 33 | { 34 | proceedSignal.Dispatch (); 35 | } 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/strangerocks/ui/view/StartLevelPanelView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 716320a349d194fbd99127e966c0ec29 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/thirdparty.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4f9112905ae248f9b2ec6c0371e6090 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /StrangeRocks/Assets/scripts/thirdparty/SimpleJSON.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da05fb44e922e4337bf6309086ae975a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /StrangeRocks/Library/AnnotationManager: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/AnnotationManager -------------------------------------------------------------------------------- /StrangeRocks/Library/AssetImportState: -------------------------------------------------------------------------------- 1 | 4;0;-1 -------------------------------------------------------------------------------- /StrangeRocks/Library/AssetServerCacheV3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/AssetServerCacheV3 -------------------------------------------------------------------------------- /StrangeRocks/Library/AssetVersioning.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/AssetVersioning.db -------------------------------------------------------------------------------- /StrangeRocks/Library/BuildPlayer.prefs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/BuildPlayer.prefs -------------------------------------------------------------------------------- /StrangeRocks/Library/BuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/BuildSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/Library/CurrentLayout.dwlt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/CurrentLayout.dwlt -------------------------------------------------------------------------------- /StrangeRocks/Library/CurrentMaximizeLayout.dwlt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/CurrentMaximizeLayout.dwlt -------------------------------------------------------------------------------- /StrangeRocks/Library/EditorUserBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/EditorUserBuildSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/Library/EditorUserSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/EditorUserSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/Library/FailedAssetImports.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/FailedAssetImports.txt -------------------------------------------------------------------------------- /StrangeRocks/Library/InspectorExpandedItems.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/InspectorExpandedItems.asset -------------------------------------------------------------------------------- /StrangeRocks/Library/MonoManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/MonoManager.asset -------------------------------------------------------------------------------- /StrangeRocks/Library/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/ProjectSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/Library/ScriptAssemblies/Assembly-CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/ScriptAssemblies/Assembly-CSharp.dll -------------------------------------------------------------------------------- /StrangeRocks/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb -------------------------------------------------------------------------------- /StrangeRocks/Library/ScriptAssemblies/CompilationCompleted.txt: -------------------------------------------------------------------------------- 1 | Completed 2 | -------------------------------------------------------------------------------- /StrangeRocks/Library/ScriptMapper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/ScriptMapper -------------------------------------------------------------------------------- /StrangeRocks/Library/assetDatabase3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/assetDatabase3 -------------------------------------------------------------------------------- /StrangeRocks/Library/expandedItems: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/expandedItems -------------------------------------------------------------------------------- /StrangeRocks/Library/guidmapper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/Library/guidmapper -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /StrangeRocks/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /StrangeRocks/StrangeRocks.userprefs: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /StrangeRocks/bin/android.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/bin/android.apk -------------------------------------------------------------------------------- /StrangeRocks/obj/Debug/Assembly-CSharp.csproj.FilesWrittenAbsolute.txt: -------------------------------------------------------------------------------- 1 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/Temp/bin/Debug/UnityEngine.dll 2 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/Temp/bin/Debug/UnityEditor.dll 3 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/Temp/bin/Debug/Mono.Cecil.dll 4 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/Temp/bin/Debug/nunit.framework.dll 5 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/Temp/bin/Debug/Unity.DataContract.dll 6 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/Temp/bin/Debug/ICSharpCode.NRefactory.dll 7 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/Temp/bin/Debug/Assembly-CSharp.dll.mdb 8 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/Temp/bin/Debug/Assembly-CSharp.dll 9 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/obj/Debug/Assembly-CSharp.dll 10 | /Users/marc/Documents/repos/strangerocks/StrangeRocks/obj/Debug/Assembly-CSharp.dll.mdb 11 | -------------------------------------------------------------------------------- /StrangeRocks/obj/Debug/Assembly-CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/obj/Debug/Assembly-CSharp.dll -------------------------------------------------------------------------------- /StrangeRocks/obj/Debug/Assembly-CSharp.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strangeioc/strangerocks/f076bbe8f8842923102f9642a345ef922323a276/StrangeRocks/obj/Debug/Assembly-CSharp.dll.mdb --------------------------------------------------------------------------------