This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| modified from original source: https://bitbucket.org/mattkotsenas/c-promises/overview | |
| */ | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| namespace Promises |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.blackmoondev.ashes.boot.vo | |
| { | |
| import net.richardlord.ash.core.Game; | |
| import net.richardlord.ash.core.SystemEnabledRule; | |
| import org.hamcrest.Matcher; | |
| import org.hamcrest.collection.inArray; | |
| import org.hamcrest.core.not; | |
| import org.hamcrest.object.equalTo; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System; | |
| using System.Collections.Generic; | |
| public class AssetGPULoader : MonoBehaviour { | |
| public Camera activeCamera; | |
| RenderTexture _rt; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.devboy; | |
| import haxe.macro.Type; | |
| import neko.Lib; | |
| import haxe.macro.Expr; | |
| import haxe.macro.Context; | |
| class Funk | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fsm | |
| .configureState( StateNames.HAPPINESS ) | |
| .withEntryGuards( OnlyIfHappy, OnlyIfSmiling ) | |
| .withExitiGuards( OnlyIfAnxious ) | |
| .withTargets( StateNames.SADNESS, StateNames.ECSTACY ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. github.com/robotlegs/robotlegs-framework/blob/master/src/org/robotlegs/base/CommandMap.as: | |
| // only one mapping possible | |
| mapValues(); | |
| command = createCommand(mapping); | |
| unmapValues(); | |
| command.execute(); | |
| 2. github.com/joelhooks/signals-extensions-CommandSignal/blob/master/src/org/robotlegs/base/SignalCommandMap.as: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ru.inspirit.asfeat.struct | |
| { | |
| /** | |
| * Simple but fast Dual Linked List approach | |
| * Core implementation idea grabbed from Linux Kernel C source | |
| * | |
| * @author Eugene Zatepyakin | |
| */ | |
| public final class LList | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package | |
| { | |
| // Dependencies: | |
| // as3swf.swc | |
| // as3commons-bytecode-1.0-RC1.swc | |
| // as3commons-lang-0.3.2.swc | |
| // as3commons-logging-2.0.swc | |
| // as3commons-reflect-1.3.4.swc | |
| // MinimalComps_0_9_9.swc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.robotlegs.core | |
| { | |
| import org.osflash.signals.ISignal; | |
| /** | |
| * @author Abel de Beer | |
| */ | |
| public interface IGuardedSignalCommandMap | |
| { | |
| function mapGuardedSignal(signal:ISignal, commandClass:Class, guards:*, oneShot:Boolean = false):void; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.destroytoday.example | |
| { | |
| public class StaticClass | |
| { | |
| { trace('constructed'); } // <-- static constructor | |
| } | |
| } |