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
| require 'find' | |
| if ARGV.length != 2 | |
| raise ArgumentError.new('Two arguments are required: path, extension') | |
| end | |
| path = ARGV[0] | |
| extension = ARGV[1] | |
| numFiles = 0 |
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.client.app.feature.restricted.model { | |
| public class AdminDataLoadingURLVarsFactorySupport extends AdminDataLoadingURLVarsFactory { | |
| public function AdminDataLoadingURLVarsFactorySupport(keyIsGood:Boolean = true) { | |
| if(keyIsGood){ | |
| fingerprintKey = new AdminKeyGoodSupport(); | |
| } |
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
| new CombinationGameBuilder() | |
| .requireOneOf ( someItems ) | |
| .requireNoneOf ( someOtherItems ) | |
| // more rules as required | |
| .build(); |
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
| private var _isGoingUp:Boolean = false; | |
| private function togglePanelPosition(e:MouseEvent):void | |
| { | |
| var yPos:Number = ON_STAGE_Y; | |
| if(_isGoingUp) | |
| { | |
| yPos = OFF_STAGE_Y; | |
| } |
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
| private var _nextMotion:Function = revealPanel; | |
| private function togglePanelPosition(e:MouseEvent):void | |
| { | |
| _nextMotion(); | |
| } | |
| private function revealPanel():void | |
| { | |
| moveTo(ON_STAGE_Y); |
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 animation.geom | |
| { | |
| import flash.geom.Point; | |
| public class LinkedListPoint extends Point | |
| { | |
| public var next:LinkedListPoint; | |
| public function LinkedListPoint(x:Number, y:Number, nextPoint:LinkedListPoint) | |
| { |
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
| private var _currentTargetPosition:LinkedListPoint; | |
| private function createPositionTargets():void | |
| { | |
| var onPosition:LinkedListPoint = new LinkedListPoint(0, ON_STAGE_Y, null); | |
| var offPosition:LinkedListPoint = new LinkedListPoint(0, OFF_STAGE_Y, onPosition); | |
| onPosition.next = offPosition; | |
| _currentTargetPosition = offPosition; | |
| } |
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
| public class InterestingEventTypesLookup { | |
| protected var _eventClassesByType:Dictionary; | |
| public function get eventClassesByType():Dictionary | |
| { | |
| return _eventClassesByType ||= new Dictionary(); | |
| } | |
| public function appendEventInterest(eventClass:Class, eventType:String):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
| protected function selectedHandler(option:IBudgetGameOption, vo:BudgetGameOptionVO):void | |
| { | |
| enable(vo.enables); | |
| disable(vo.disables); | |
| dispatchUpdate(vo.cost, vo.productivity); | |
| } | |
| protected function enable(option:IBudgetGameOption):void | |
| { | |
| if(option != null) |
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
| public interface IBudgetGameOption | |
| { | |
| function select():void; | |
| function deselect():void; | |
| function enable():void; | |
| function disable():void; | |