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.Collections.Generic; | |
/** | |
* this is a structure that freezes a target camera position rotation and field of view | |
* as a lerp target for transitions. | |
* while these properties will be frozen in place for the target extremes, the main camera's properteis | |
* will be constantly fluxuating between values. Also, if a camera transitions to a new target while en route | |
* to an old one, the goal is to freeze that transition point into a CameraState as a basis for lerping. |
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
/* globals define */ | |
define(function (require, exports, module) { | |
'use strict'; | |
var View = require('famous/core/View'); | |
var Surface = require('famous/core/Surface'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var TTransform = require('famous/transitions/TransitionableTransform'); | |
var Easing = require('famous/transitions/Easing'); |
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
/* globals define */ | |
define(function (require, exports, module) { | |
'use strict'; | |
var View = require('famous/core/View'); | |
var Surface = require('famous/core/Surface'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var TTransform = require('famous/transitions/TransitionableTransform'); | |
var Easing = require('famous/transitions/Easing'); |
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
/* globals define */ | |
define(function (require, exports, module) { | |
'use strict'; | |
var View = require('famous/core/View'); | |
var Surface = require('famous/core/Surface'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var TTransform = require('famous/transitions/TransitionableTransform'); | |
var Easing = require('famous/transitions/Easing'); |
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
/* globals define */ | |
define(function (require, exports, module) { | |
'use strict'; | |
var View = require('famous/core/View'); | |
var Surface = require('famous/core/Surface'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var TTransform = require('famous/transitions/TransitionableTransform'); | |
var Easing = require('famous/transitions/Easing'); |
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
/* globals define */ | |
define(function(require, exports, module) { | |
'use strict'; | |
// import dependencies | |
var Engine = require('famous/core/Engine'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var ImageSurface = require('famous/surfaces/ImageSurface'); | |
var Surface = require('famous/core/Surface'); |
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
/* globals define */ | |
define(function(require, exports, module) { | |
'use strict'; | |
// import dependencies | |
var Engine = require('famous/core/Engine'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var ImageSurface = require('famous/surfaces/ImageSurface'); | |
var Surface = require('famous/core/Surface'); |
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
/* globals define */ | |
define(function(require, exports, module) { | |
'use strict'; | |
// import dependencies | |
var Engine = require('famous/core/Engine'); | |
var Modifier = require('famous/core/Modifier'); | |
var Transform = require('famous/core/Transform'); | |
var ImageSurface = require('famous/surfaces/ImageSurface'); | |
// create the main context |
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
var Fools = require('./../fools'); | |
var _ = require('lodash'); | |
var util = require('util'); | |
function scenario(ratio, animalCount, mapSize, grassLength, regrowthRate) { | |
var alert_level = 1; | |
var grass = _.map(_.range(0, mapSize), function () { | |
return grassLength; | |
}); |
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
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
* | |
* Owner: [email protected] | |
* @license MPL 2.0 | |
* @copyright Famous Industries, Inc. 2014 | |
*/ | |
define(function(require, exports, module) { |