Created
January 9, 2015 21:52
-
-
Save TylerK/6e165e5e23ef7222421d to your computer and use it in GitHub Desktop.
This file contains 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
// | |
// Base object helper method to set count and blocks amount | |
// @method constructor | |
// @params int, int | |
//--------------------------------------------------------- | |
function CountNBlocks (c, b) { | |
this.count = (c === undefined) ? LvEnum.num.UNKNOWN: c; | |
this.blks = (b === undefined) ? LvEnum.num.UNKNOWN: b; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment