mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-20 18:10:44 -04:00
Migrating from tileGroupNumber to tileGroupLetter.
This commit is contained in:
parent
580d002a98
commit
dd9b8a0018
4 changed files with 4 additions and 5 deletions
app
scripts
|
@ -405,7 +405,7 @@ module.exports = class Simulator extends CocoClass
|
|||
executionLimit: 1 * 1000 * 1000
|
||||
language: codeLanguage
|
||||
if methodName is 'hear' then aetherOptions.functionParameters = ['speaker', 'message', 'data']
|
||||
if methodName is 'makeBid' then aetherOptions.functionParameters = ['tileGroupNumber']
|
||||
if methodName is 'makeBid' then aetherOptions.functionParameters = ['tileGroupLetter']
|
||||
if methodName is "findCentroids" then aetherOptions.functionParameters = ["centroids"]
|
||||
#console.log "creating aether with options", aetherOptions
|
||||
return new Aether aetherOptions
|
||||
|
|
|
@ -93,8 +93,7 @@ module.exports = class Mark extends CocoClass
|
|||
@mark.addChild text
|
||||
else if @sprite.thang.drawsBoundsStyle is 'corner-text'
|
||||
return if @sprite.thang.world.age is 0
|
||||
#letter = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[@drawsBoundsIndex % 26]
|
||||
letter = @sprite.thang.drawsBoundsIndex
|
||||
letter = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[@drawsBoundsIndex % 26]
|
||||
text = new createjs.Text letter, "14px Arial", "#333333" # color.replace('0.5', '1')
|
||||
text.x = -w / 2 + 2
|
||||
text.y = -h / 2 + 2
|
||||
|
|
|
@ -92,7 +92,7 @@ module.exports = class LadderSubmissionView extends CocoView
|
|||
includeFlow: false
|
||||
executionLimit: 1 * 1000 * 1000
|
||||
if spellID is "hear" then aetherOptions.functionParameters = ["speaker","message","data"]
|
||||
if spellID is "makeBid" then aetherOptions.functionParameters = ["tileGroupNumber"]
|
||||
if spellID is "makeBid" then aetherOptions.functionParameters = ["tileGroupLetter"]
|
||||
if spellID is "findCentroids" then aetherOptions.functionParameters = ["centroids"]
|
||||
|
||||
aether = new Aether aetherOptions
|
||||
|
|
|
@ -41,7 +41,7 @@ transpileLevelSession = (sessionID, cb) ->
|
|||
includeFlow: false
|
||||
executionLimit: 1 * 1000 * 1000
|
||||
if spellID is "hear" then aetherOptions.functionParameters = ["speaker","message","data"]
|
||||
if spellID is "makeBid" then aetherOptions.functionParameters = ["tileGroupNumber"]
|
||||
if spellID is "makeBid" then aetherOptions.functionParameters = ["tileGroupLetter"]
|
||||
if spellID is "findCentroids" then aetherOptions.functionParameters = ["centroids"]
|
||||
|
||||
aether = new Aether aetherOptions
|
||||
|
|
Loading…
Reference in a new issue